git: 4458b6d2d931 - main - x11/mako: Fix build with llvm16
- Reply: Jan Beich : "Re: git: 4458b6d2d931 - main - x11/mako: Fix build with llvm16"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Sep 2023 10:27:06 UTC
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' \