From ccebe925d7547f00d9bf3cd15132ed6f8e5ea0b6 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 9 Nov 2020 17:31:13 +0000 Subject: [PATCH] Add patch to fix lv2lint build on macos Signed-off-by: falkTX --- patches/lv2lint/macos/01_fix-build.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 patches/lv2lint/macos/01_fix-build.patch diff --git a/patches/lv2lint/macos/01_fix-build.patch b/patches/lv2lint/macos/01_fix-build.patch new file mode 100644 index 0000000..9a60885 --- /dev/null +++ b/patches/lv2lint/macos/01_fix-build.patch @@ -0,0 +1,14 @@ +diff --git a/lv2lint.c b/lv2lint.c +index e18a574..29fcac1 100644 +--- a/lv2lint.c ++++ b/lv2lint.c +@@ -668,6 +668,9 @@ _pattern_match(const char *pattern, const char *str) + } + + #if defined(HAS_FNMATCH) ++# ifndef FNM_EXTMATCH /* glibc extension */ ++# define FNM_EXTMATCH 0 ++# endif + if(fnmatch(pattern, str, FNM_CASEFOLD | FNM_EXTMATCH) == 0) + #else + if(strcasecmp(pattern, str) == 0)