Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 18:56:00 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: 151d3c0ef63d - main - www/sogo{-activesync}: Fix build with llvm16
Message-ID:  <202308051856.375Iu0Lo075783@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=151d3c0ef63d87e3f23c48a9f9a3a7ec73635356

commit 151d3c0ef63d87e3f23c48a9f9a3a7ec73635356
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 18:31:38 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 18:55:50 +0000

    www/sogo{-activesync}: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 www/sogo/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/www/sogo/Makefile b/www/sogo/Makefile
index 9bfb964fd36d..600b87de1088 100644
--- a/www/sogo/Makefile
+++ b/www/sogo/Makefile
@@ -63,6 +63,10 @@ SUB_LIST+=		GNUSTEP_LOCAL_TOOLS=${GNUSTEP_LOCAL_TOOLS} \
 CPPFLAGS+=       -Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CPPFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${GREP} -rlF '/etc/sogo' ${WRKSRC} \
 		| ${XARGS} ${REINPLACE_CMD} 's#/etc/sogo#${PREFIX}/etc/sogo#g'



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