Browse Source

Add patch to fix lv2lint build on macos

Signed-off-by: falkTX <falktx@falktx.com>
tags/v1.0
falkTX 4 years ago
parent
commit
ccebe925d7
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      patches/lv2lint/macos/01_fix-build.patch

+ 14
- 0
patches/lv2lint/macos/01_fix-build.patch View File

@@ -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)

Loading…
Cancel
Save