Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 20:10:15 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: f760ab79c1a6 - main - cad/oregano: Fix build with llvm16
Message-ID:  <202308052010.375KAFPR001768@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=f760ab79c1a69d8a8198b0f99b297f83d41392b6

commit f760ab79c1a69d8a8198b0f99b297f83d41392b6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 19:47:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 19:47:29 +0000

    cad/oregano: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 cad/oregano/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile
index 93ca60fd86d8..f54fc9bdcb90 100644
--- a/cad/oregano/Makefile
+++ b/cad/oregano/Makefile
@@ -22,6 +22,12 @@ USE_GNOME=	atk cairo gdkpixbuf2 glib20 gtk30 gtksourceview3 intltool libxml2 pan
 
 GLIB_SCHEMAS=	io.ahoi.oregano.gschema.xml
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} 's|$${MANDIR}|${MANPREFIX}/man|' ${WRKSRC}/data/wscript
 



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