git: fff692266a31 - main - security/softether: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 17:54:33 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=fff692266a313bef6b7adf5a82468daf7cd2b58e
commit fff692266a313bef6b7adf5a82468daf7cd2b58e
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 17:20:09 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 17:54:17 +0000
security/softether: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
security/softether/Makefile | 4 ++++
1 file changed, 4 insertions(+)
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.