audio/lv2lint: Update 0.6.0 -> 0.8.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2020-07-21 01:39:35 +00:00
parent fb6c8c9534
commit 83796957fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=542700
3 changed files with 18 additions and 4 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= lv2lint
DISTVERSION= 0.6.0
DISTVERSION= 0.8.0
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1586864438
SHA256 (OpenMusicKontrollers-lv2lint-0.6.0_GH0.tar.gz) = 6fde72ed4fc352e125fcf61a84538f5acc9172a1174ae86446771ed84c94bd28
SIZE (OpenMusicKontrollers-lv2lint-0.6.0_GH0.tar.gz) = 53442
TIMESTAMP = 1595295219
SHA256 (OpenMusicKontrollers-lv2lint-0.8.0_GH0.tar.gz) = 783c00c5feb8dd218d320dff5265c1e60be0673ced35413943e83c37f6431440
SIZE (OpenMusicKontrollers-lv2lint-0.8.0_GH0.tar.gz) = 56989

View file

@ -0,0 +1,14 @@
--- lv2lint.c.orig 2020-07-21 01:36:43 UTC
+++ lv2lint.c
@@ -668,7 +668,11 @@ _pattern_match(const char *pattern, const char *str)
}
#if defined(HAS_FNMATCH)
+#if defined(FNM_EXTMATCH) // a GNU extension not available on FreeBSD
if(fnmatch(pattern, str, FNM_CASEFOLD | FNM_EXTMATCH) == 0)
+#else
+ if(fnmatch(pattern, str, FNM_CASEFOLD) == 0)
+#endif
#else
if(strcasecmp(pattern, str) == 0)
#endif