Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 20:10:21 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: ab2a75c0bfaa - main - net/ssldump: Fix build with llvm16
Message-ID:  <202308052010.375KALEm003378@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=ab2a75c0bfaa190d1765bec66365c2cf6e2e3ee0

commit ab2a75c0bfaa190d1765bec66365c2cf6e2e3ee0
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 20:08:13 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 20:08:13 +0000

    net/ssldump: Fix build with llvm16
    
    - Utilize OPTIONSNG where possible
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net/ssldump/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/net/ssldump/Makefile b/net/ssldump/Makefile
index bc270399f3f3..cf0752d46310 100644
--- a/net/ssldump/Makefile
+++ b/net/ssldump/Makefile
@@ -16,15 +16,18 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-openssl=${OPENSSLBASE} \
 		--sbindir=${PREFIX}/bin
 
+PLIST_FILES=	bin/ssldump man/man1/ssldump.1.gz
+
 OPTIONS_DEFINE=	AES
+
 AES_DESC=	Enable AES support from CVS (EXPERIMENTAL)
 
-PLIST_FILES=	bin/ssldump man/man1/ssldump.1.gz
+AES_EXTRA_PATCHES=	${FILESDIR}/extra-patch-aes
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MAES}
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-aes
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
 .endif
 
 do-install:



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