aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-06-20 06:30:07 +0800
committeryuri <yuri@FreeBSD.org>2018-06-20 06:30:07 +0800
commitdf02a9ad49fcca85ffafb9d206a06108aa977f29 (patch)
treec332dd939f3166b44155b29dbe0bd1e4a706b460
parent4211b62859a24933a7507e0ce040d1d0b998a95b (diff)
downloadfreebsd-ports-gnome-df02a9ad49fcca85ffafb9d206a06108aa977f29.tar.gz
freebsd-ports-gnome-df02a9ad49fcca85ffafb9d206a06108aa977f29.tar.zst
freebsd-ports-gnome-df02a9ad49fcca85ffafb9d206a06108aa977f29.zip
audio/caps-lv2: Switch to clang-5 to avoid the regression in clang-6.
Remove BROKEN statements which have this regression as a reason. Reported by: fallout
-rw-r--r--audio/caps-lv2/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/audio/caps-lv2/Makefile b/audio/caps-lv2/Makefile
index bcc71589019d..026a2d974458 100644
--- a/audio/caps-lv2/Makefile
+++ b/audio/caps-lv2/Makefile
@@ -3,6 +3,7 @@
PORTNAME= caps-lv2
PORTVERSION= g20170626
+PORTREVISION= 1
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@@ -11,8 +12,6 @@ COMMENT= LV2 version of the C* Audio Plugin Suite
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
-BROKEN_armv6= fails to build: dsp/v4f.h:153:12: no matching function for call to v4f_map
-BROKEN_armv7= fails to build: dsp/v4f.h:153:12: no matching function for call to v4f_map
BROKEN_powerpc64= fails to build: cc1plus: unrecognized command line option -std=c++11
BUILD_DEPENDS= lv2>0:audio/lv2
@@ -22,6 +21,13 @@ USE_GITHUB= yes
GH_ACCOUNT= moddevices
GH_TAGNAME= 072e2fe
+# It suffers from the regression in clang-6: https://bugs.llvm.org/show_bug.cgi?id=36916
+LLVM_VER= 50
+BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
+CPP= clang-cpp${LLVM_VER}
+CC= clang${LLVM_VER}
+CXX= clang++${LLVM_VER}
+
post-patch:
@${REINPLACE_CMD} -e "s|__APPLE__|__FreeBSD__|" \
${WRKSRC}/dsp/v4f_IIR2.h