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)