git: c01aa2b0e809 - main - x11-wm/labwc: mark BROKEN on FreeBSD < 13 after 7aae6b9fe451
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 04:13:53 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c01aa2b0e8095e5db09564beb98e8652c6366034 commit c01aa2b0e8095e5db09564beb98e8652c6366034 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-11-18 04:09:53 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-11-18 04:13:28 +0000 x11-wm/labwc: mark BROKEN on FreeBSD < 13 after 7aae6b9fe451 ../src/cursor.c:52:2: error: expected ')' ARRAY_SIZE(cursors_xdg) == LAB_CURSOR_COUNT, ^ ../src/cursor.c:50:28: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) ^ ../src/cursor.c:52:2: note: to match this '(' ../src/cursor.c:50:27: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) ^ ../src/cursor.c:52:2: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ARRAY_SIZE(cursors_xdg) == LAB_CURSOR_COUNT, ^ ../src/cursor.c:50:28: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) ^ ../src/cursor.c:52:26: error: expected ')' ARRAY_SIZE(cursors_xdg) == LAB_CURSOR_COUNT, ^ ../src/cursor.c:51:14: note: to match this '(' static_assert( ^ ../src/cursor.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static_assert( ^ ../src/cursor.c:55:2: error: expected ')' ARRAY_SIZE(cursors_x11) == LAB_CURSOR_COUNT, ^ ../src/cursor.c:50:28: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) ^ ../src/cursor.c:55:2: note: to match this '(' ../src/cursor.c:50:27: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) ^ ../src/cursor.c:55:2: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ARRAY_SIZE(cursors_x11) == LAB_CURSOR_COUNT, ^ ../src/cursor.c:50:28: note: expanded from macro 'ARRAY_SIZE' #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) ^ ../src/cursor.c:55:26: error: expected ')' ARRAY_SIZE(cursors_x11) == LAB_CURSOR_COUNT, ^ ../src/cursor.c:54:14: note: to match this '(' static_assert( ^ ../src/cursor.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static_assert( ^ 4 warnings and 4 errors generated. --- x11-wm/labwc/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x11-wm/labwc/Makefile b/x11-wm/labwc/Makefile index 72e887c13e1b..a3b010784d74 100644 --- a/x11-wm/labwc/Makefile +++ b/x11-wm/labwc/Makefile @@ -8,6 +8,8 @@ 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