aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-21 19:54:44 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-21 19:57:53 +0000
commit1f42cbbadb84f0f50087d28aa8a349bcab2760df (patch)
tree75b2de6ade47905101a3217eee17fd474a51d460
parent23b17b626c0b790c12cdef433c0b1253236fffee (diff)
downloadports-1f42cbbadb84f0f50087d28aa8a349bcab2760df.tar.gz
ports-1f42cbbadb84f0f50087d28aa8a349bcab2760df.zip
biology/wise: Fix build with llvm16
Sponsored by: The FreeBSD Foundation
-rw-r--r--biology/wise/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/biology/wise/Makefile b/biology/wise/Makefile
index 8331a0ee0c81..4ec5fde05dd7 100644
--- a/biology/wise/Makefile
+++ b/biology/wise/Makefile
@@ -51,6 +51,10 @@ DATAFILES= BLOSUM30.bla BLOSUM45.bla BLOSUM62.bla BLOSUM80.bla aa.rnd \
CFLAGS+= -Wno-error=int-conversion
.endif
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-patch:
@${FIND} ${BUILD_WRKSRC} -name "makefile" | ${XARGS} \
${REINPLACE_CMD} -e \