Date: Fri, 18 Nov 2022 10:51:13 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6b54f808cec5 - main - x11-wm/labwc: unbreak on FreeBSD 12.3 (12.4 is not affected) Message-ID: <202211181051.2AIApDra084745@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b54f808cec5c7e5bebca84d1dc58fd8696bc7f0 commit 6b54f808cec5c7e5bebca84d1dc58fd8696bc7f0 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-11-18 10:40:03 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-11-18 10:50:51 +0000 x11-wm/labwc: unbreak on FreeBSD 12.3 (12.4 is not affected) --- x11-wm/labwc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile index 6c727594b9f3..df78be2aa579 100644 --- a/x11-wm/labwc/Makefile +++ b/x11-wm/labwc/Makefile @@ -11,8 +11,6 @@ WWW= https://github.com/labwc/labwc LICENSE= GPLv2 -BROKEN_FreeBSD_12= static_assert not visible with -D_POSIX_C_SOURCE=200809L - BUILD_DEPENDS= evdev-proto>0:devel/evdev-proto \ wayland-protocols>0:graphics/wayland-protocols \ wlroots>=0.16.0<0.17.0:x11-toolkits/wlroots @@ -60,5 +58,10 @@ post-patch: -e 's,/usr/local,${PREFIX},' \ ${WRKSRC}/docs/${PORTNAME}-config.5.scd \ ${WRKSRC}/src/common/dir.c +# XXX Drop after FreeBSD 12.3 EOL around 2023-03-01 +# https://cgit.freebsd.org/src/commit/?id=773538247007 + @if [ ${OPSYS} = FreeBSD -a ${OSVERSION} -lt 1203501 ]; then \ + ${REINPLACE_CMD} -e '/_POSIX_C_SOURCE/d' ${WRKSRC}/src/cursor.c; \ + fi .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211181051.2AIApDra084745>