aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-23 17:20:09 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-07-23 17:54:17 +0000
commitfff692266a313bef6b7adf5a82468daf7cd2b58e (patch)
tree83c8d75e814933198764421af7d05e1444290fb5
parent21f76e1e6706e5cd9f79acac974d5e77cee5f7c5 (diff)
downloadports-fff692266a313bef6b7adf5a82468daf7cd2b58e.tar.gz
ports-fff692266a313bef6b7adf5a82468daf7cd2b58e.zip
security/softether: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--security/softether/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/security/softether/Makefile b/security/softether/Makefile
index 2be8f1112e1b..1fc3ce0ab78b 100644
--- a/security/softether/Makefile
+++ b/security/softether/Makefile
@@ -42,6 +42,10 @@ ALL_TARGET= build
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
post-patch:
# SoftEther scatters logs, config files and PID files in PREFIX/libexec
# directory. To write them in the right place, replace it.