mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch refreshed for 0.2.1 Changelog: ========== add installing clang package for readthedocks atexit fix fix file system events: store fs info when marked Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
32 lines
711 B
Diff
32 lines
711 B
Diff
From 9e7894b97ae7afe43a9901b774de5aef401549ac 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
|
|
|
|
src/ext.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/ext.c b/src/ext.c
|
|
index e0bbe21..7d979d3 100644
|
|
--- a/src/ext.c
|
|
+++ b/src/ext.c
|
|
@@ -19,6 +19,9 @@
|
|
#include <sys/vfs.h>
|
|
#include <unistd.h>
|
|
|
|
+#ifndef FNM_EXTMATCH
|
|
+#define FNM_EXTMATCH 0
|
|
+#endif
|
|
|
|
PyDoc_STRVAR(ext__doc__,
|
|
"Wrapper for fanotify.\n"
|
|
--
|
|
2.34.1
|
|
|