Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 17:54:33 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fff692266a31 - main - security/softether: Fix build with llvm16
Message-ID:  <202307231754.36NHsX0x007372@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307231754.36NHsX0x007372>