git: 20450aa4df00 - main - x11/florence: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 02 Aug 2023 18:54:00 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=20450aa4df007de8981831bc5b28c3662d9aa83b commit 20450aa4df007de8981831bc5b28c3662d9aa83b Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-02 18:48:32 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-02 18:53:45 +0000 x11/florence: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11/florence/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/x11/florence/Makefile b/x11/florence/Makefile index b777b10f8022..be1b2286fbd9 100644 --- a/x11/florence/Makefile +++ b/x11/florence/Makefile @@ -14,12 +14,15 @@ LICENSE_COMB= multi LIB_DEPENDS= libnotify.so:devel/libnotify USES= gmake gnome gstreamer iconv libtool pathfix pkgconfig tar:bzip2 xorg -USE_XORG= xtst xext USE_GNOME= gtk30 cairo intlhack librsvg2 +USE_LDCONFIG= yes +USE_XORG= xtst xext + GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static --without-docs -USE_LDCONFIG= yes + GLIB_SCHEMAS= org.florence.gschema.xml + INSTALL_TARGET= install-strip MAKE_JOBS_UNSAFE= yes @@ -32,6 +35,12 @@ OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext +.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} -e 's|^Categories=.*|Categories=Application;Accessibility;System;|' \ ${WRKSRC}/data/florence.desktop.in.in