Date: Sun, 3 Sep 2023 10:27:02 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: f295903414cc - main - x11/xdg-desktop-portal-wlr: Fix build with llvm16 Message-ID: <202309031027.383AR2LG097178@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=f295903414ccab16e75feb05c851d726deb16713 commit f295903414ccab16e75feb05c851d726deb16713 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-09-02 07:40:13 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-09-03 10:26:52 +0000 x11/xdg-desktop-portal-wlr: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11/xdg-desktop-portal-wlr/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11/xdg-desktop-portal-wlr/Makefile b/x11/xdg-desktop-portal-wlr/Makefile index b04c0496e766..11b6bbe2aad4 100644 --- a/x11/xdg-desktop-portal-wlr/Makefile +++ b/x11/xdg-desktop-portal-wlr/Makefile @@ -47,6 +47,12 @@ MANPAGES_PLIST_FILES= man/man5/${PORTNAME}.5.gz 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 + post-patch: @${REINPLACE_CMD} -e 's,/etc,${PREFIX}&,' \ ${WRKSRC}/${PORTNAME}.5.scd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309031027.383AR2LG097178>