python3-pyfanotify: update to version 0.2.2

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka 2023-12-21 15:44:33 +00:00 committed by Khem Raj
parent 9723cc8de5
commit b572db47cc
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 8 additions and 10 deletions

View File

@ -1,19 +1,20 @@
From 9e7894b97ae7afe43a9901b774de5aef401549ac Mon Sep 17 00:00:00 2001
From 87f1bf7d1e0ca2a841706d1c41d14382f11264db Mon Sep 17 00:00:00 2001
From: Bartosz Golaszewski <brgl@bgdev.pl>
Date: Thu, 28 Apr 2022 16:32:06 +0200
Subject: [PATCH] ext: define FNM_EXTMATCH if not already defined
On musl this constant is not defined. Define it locally if not present.
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
Upstream-Status: Inappropriate
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
---
src/ext.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/ext.c b/src/ext.c
index e0bbe21..7d979d3 100644
index fb33de1..fa01a81 100644
--- a/src/ext.c
+++ b/src/ext.c
@@ -19,6 +19,9 @@
@ -24,8 +25,5 @@ index e0bbe21..7d979d3 100644
+#define FNM_EXTMATCH 0
+#endif
PyDoc_STRVAR(ext__doc__,
"Wrapper for fanotify.\n"
--
2.34.1
#define FUNUSED __attribute__((unused))

View File

@ -5,7 +5,7 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=636a36c9df04efcfacf839b8866d9a37"
SRC_URI += "file://0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch"
SRC_URI[sha256sum] = "fd62dccdf3c17ca117e3279f0cbc65c639e53c9dec8a459d44ed6a35c1a18e60"
SRC_URI[sha256sum] = "90219aa9f8b78fa732f24aa7b21c7bb6ac97a6eb47f1763c899b8194e23af1df"
inherit pypi setuptools3