summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyfanotify/0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch
diff options
context:
space:
mode:
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.patch16
1 files changed, 7 insertions, 9 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
index 2fa3cb05d4..4c279bbcda 100644
--- 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
@@ -1,19 +1,20 @@
1From 9e7894b97ae7afe43a9901b774de5aef401549ac Mon Sep 17 00:00:00 2001 1From 87f1bf7d1e0ca2a841706d1c41d14382f11264db Mon Sep 17 00:00:00 2001
2From: Bartosz Golaszewski <brgl@bgdev.pl> 2From: Bartosz Golaszewski <brgl@bgdev.pl>
3Date: Thu, 28 Apr 2022 16:32:06 +0200 3Date: Thu, 28 Apr 2022 16:32:06 +0200
4Subject: [PATCH] ext: define FNM_EXTMATCH if not already defined 4Subject: [PATCH] ext: define FNM_EXTMATCH if not already defined
5 5
6On musl this constant is not defined. Define it locally if not present. 6On musl this constant is not defined. Define it locally if not present.
7 7
8Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
9---
10Upstream-Status: Inappropriate 8Upstream-Status: Inappropriate
11 9
10Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
11
12---
12 src/ext.c | 3 +++ 13 src/ext.c | 3 +++
13 1 file changed, 3 insertions(+) 14 1 file changed, 3 insertions(+)
14 15
15diff --git a/src/ext.c b/src/ext.c 16diff --git a/src/ext.c b/src/ext.c
16index e0bbe21..7d979d3 100644 17index fb33de1..fa01a81 100644
17--- a/src/ext.c 18--- a/src/ext.c
18+++ b/src/ext.c 19+++ b/src/ext.c
19@@ -19,6 +19,9 @@ 20@@ -19,6 +19,9 @@
@@ -24,8 +25,5 @@ index e0bbe21..7d979d3 100644
24+#define FNM_EXTMATCH 0 25+#define FNM_EXTMATCH 0
25+#endif 26+#endif
26 27
27 PyDoc_STRVAR(ext__doc__, 28 #define FUNUSED __attribute__((unused))
28 "Wrapper for fanotify.\n" 29
29--
302.34.1
31