diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 17:20:09 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-07-23 17:54:17 +0000 |
commit | fff692266a313bef6b7adf5a82468daf7cd2b58e (patch) | |
tree | 83c8d75e814933198764421af7d05e1444290fb5 | |
parent | 21f76e1e6706e5cd9f79acac974d5e77cee5f7c5 (diff) | |
download | ports-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/Makefile | 4 |
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. |