x11-wm/dwl: unbreak on GCC architectures

In file included from dwl.c:377:
client.h: In function 'client_get_appid':
client.h:63: error: 'struct wlr_xdg_surface' has no member named 'toplevel'
client.h: In function 'client_get_title':
client.h:88: error: 'struct wlr_xdg_surface' has no member named 'toplevel'
dwl.c: In function 'createkeyboard':
dwl.c:797: error: 'struct wlr_input_device' has no member named 'keyboard'
dwl.c:800: error: 'struct wlr_input_device' has no member named 'keyboard'
dwl.c:803: error: 'struct wlr_input_device' has no member named 'keyboard'
dwl.c:804: error: 'struct wlr_input_device' has no member named 'keyboard'
dwl.c: In function 'createnotify':
dwl.c:901: error: 'struct wlr_xdg_surface' has no member named 'toplevel'
dwl.c:902: error: 'struct wlr_xdg_surface' has no member named 'toplevel'
dwl.c: In function 'keypress':
dwl.c:1242: error: 'struct wlr_input_device' has no member named 'keyboard'
dwl.c:1245: error: 'struct wlr_input_device' has no member named 'keyboard'
dwl.c: In function 'keypressmod':
dwl.c:1277: error: 'struct wlr_input_device' has no member named 'keyboard'
This commit is contained in:
Jan Beich 2021-12-31 16:46:09 +00:00
parent f0fb771fba
commit bb69675791

View file

@ -20,7 +20,7 @@ LIB_DEPENDS= libwayland-server.so:graphics/wayland \
libinput.so:x11/libinput \
libxkbcommon.so:x11/libxkbcommon
USES= gmake pkgconfig
USES= compiler:c11 gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= djpohly
PLIST_FILES= bin/${PORTNAME} \