Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2023 10:27:06 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: 4458b6d2d931 - main - x11/mako: Fix build with llvm16
Message-ID:  <202309031027.383AR6D9097307@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=4458b6d2d931d462f260dc06fb7b9c7fa1f707aa

commit 4458b6d2d931d462f260dc06fb7b9c7fa1f707aa
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-02 08:39:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-03 10:26:53 +0000

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

diff --git a/x11/mako/Makefile b/x11/mako/Makefile
index e34c522d0167..90ee554be7fa 100644
--- a/x11/mako/Makefile
+++ b/x11/mako/Makefile
@@ -37,6 +37,12 @@ MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz \
 PIXBUF_USE=		GNOME=gdkpixbuf2
 PIXBUF_MESON_ENABLED=	icons
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
+CFLAGS+=	-D__BSD_VISIBLE -D__XSI_VISIBLE
+.endif
+
 post-patch:
 # Respect PREFIX for icons
 	@${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},g' \



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