Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Sep 2023 10:27:01 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: 20f7e4fc4ffe - main - x11/xdg-desktop-portal-hyprland: Fix build with llvm16
Message-ID:  <202309031027.383AR1nF097132@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=20f7e4fc4ffea55d684fa19ae600867927415075

commit 20f7e4fc4ffea55d684fa19ae600867927415075
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-02 05:57:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-03 10:26:52 +0000

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

diff --git a/x11/xdg-desktop-portal-hyprland/Makefile b/x11/xdg-desktop-portal-hyprland/Makefile
index 6032e95f7e6a..2f33fe1a3d01 100644
--- a/x11/xdg-desktop-portal-hyprland/Makefile
+++ b/x11/xdg-desktop-portal-hyprland/Makefile
@@ -50,6 +50,12 @@ OPTIONS_DEFAULT=SLURP
 SLURP_DESC=		Simple output chooser
 SLURP_RUN_DEPENDS=	slurp:x11/slurp
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400097
+CFLAGS+=	-D__BSD_VISIBLE -D__XSI_VISIBLE
+.endif
+
 .ifdef GH_TUPLE
 post-configure:
 	@${REINPLACE_CMD} 's/meson install/& \



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