Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2023 10:27:09 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: 572560076d1c - main - x11/sxmo-wayout: Fix build with llvm16
Message-ID:  <202309031027.383AR9MF097449@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=572560076d1c987833958524a2bc4a60a1700287

commit 572560076d1c987833958524a2bc4a60a1700287
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-02 20:21:49 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-03 10:26:54 +0000

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

diff --git a/x11/sxmo-wayout/Makefile b/x11/sxmo-wayout/Makefile
index 103d4b125b8e..ba76da8c22db 100644
--- a/x11/sxmo-wayout/Makefile
+++ b/x11/sxmo-wayout/Makefile
@@ -30,6 +30,12 @@ MANPAGES_BUILD_DEPENDS=	scdoc:textproc/scdoc
 MANPAGES_MESON_ENABLED=	man-pages
 MANPAGES_PLIST_FILES=	man/man1/${PORTNAME}.1.gz
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
+CFLAGS+=	-D__BSD_VISIBLE -D__XSI_VISIBLE
+.endif
+
 post-install:
 # Rename to avoid conflict with x11/wayout
 	${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \



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