diff options
author | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-04-28 20:34:31 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-05-02 14:12:13 -0700 |
commit | 9eacd39eaaa0a24ec6765ec06b7c2302055d5ca5 (patch) | |
tree | 4891eb25e8fb137fb77d32e14a3509ff8a8c0225 /meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch | |
parent | 54c6e9b80f3eae2f78f45e18feec713d62e3af1c (diff) | |
download | meta-openembedded-9eacd39eaaa0a24ec6765ec06b7c2302055d5ca5.tar.gz |
python3-pyfanotify: new package
This adds a recipe for pyfanotify - a python wrapper around linux'
fanotify interface.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch b/meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch new file mode 100644 index 0000000000..933e086265 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 9e7894b97ae7afe43a9901b774de5aef401549ac Mon Sep 17 00:00:00 2001 | ||
2 | From: Bartosz Golaszewski <brgl@bgdev.pl> | ||
3 | Date: Thu, 28 Apr 2022 16:32:06 +0200 | ||
4 | Subject: [PATCH] ext: define FNM_EXTMATCH if not already defined | ||
5 | |||
6 | On musl this constant is not defined. Define it locally if not present. | ||
7 | |||
8 | Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> | ||
9 | --- | ||
10 | Upstream-Status: Inappropriate | ||
11 | |||
12 | src/ext.c | 3 +++ | ||
13 | 1 file changed, 3 insertions(+) | ||
14 | |||
15 | diff --git a/src/ext.c b/src/ext.c | ||
16 | index 2ba9a14..98ffc20 100644 | ||
17 | --- a/src/ext.c | ||
18 | +++ b/src/ext.c | ||
19 | @@ -18,6 +18,9 @@ | ||
20 | #include <sys/un.h> | ||
21 | #include <unistd.h> | ||
22 | |||
23 | +#ifndef FNM_EXTMATCH | ||
24 | +#define FNM_EXTMATCH 0 | ||
25 | +#endif | ||
26 | |||
27 | PyDoc_STRVAR(ext__doc__, | ||
28 | "Wrapper for fanotify.\n" | ||
29 | -- | ||
30 | 2.32.0 | ||
31 | |||