Date: Fri, 15 May 2026 05:43:26 +0000 From: Gleb Popov <arrowd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Vincent <tmp386@live.com> Subject: git: 64eca8082d89 - main - x11-toolkits/wlroots*: Fix build after libinput update Message-ID: <6a06b27e.1959b.67fab8e4@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=64eca8082d8905dc5ce90863d8a3ec21a4a01cbd commit 64eca8082d8905dc5ce90863d8a3ec21a4a01cbd Author: Vincent <tmp386@live.com> AuthorDate: 2026-05-15 05:38:50 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2026-05-15 05:43:15 +0000 x11-toolkits/wlroots*: Fix build after libinput update PR: 293585 Approved by: jbeich (maintainer) --- x11-toolkits/wlroots015/Makefile | 2 +- x11-toolkits/wlroots015/files/patch-backend_libinput_switch.c | 11 +++++++++++ x11-toolkits/wlroots017/Makefile | 2 +- x11-toolkits/wlroots017/files/patch-backend_libinput_switch.c | 11 +++++++++++ x11-toolkits/wlroots018/Makefile | 2 +- x11-toolkits/wlroots018/files/patch-backend_libinput_switch.c | 11 +++++++++++ 6 files changed, 36 insertions(+), 3 deletions(-) diff --git a/x11-toolkits/wlroots015/Makefile b/x11-toolkits/wlroots015/Makefile index 3273f13c17f6..4c27bac3b574 100644 --- a/x11-toolkits/wlroots015/Makefile +++ b/x11-toolkits/wlroots015/Makefile @@ -1,6 +1,6 @@ PORTNAME= wlroots DISTVERSION= 0.15.1 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 015 diff --git a/x11-toolkits/wlroots015/files/patch-backend_libinput_switch.c b/x11-toolkits/wlroots015/files/patch-backend_libinput_switch.c new file mode 100644 index 000000000000..6158a9c144f8 --- /dev/null +++ b/x11-toolkits/wlroots015/files/patch-backend_libinput_switch.c @@ -0,0 +1,11 @@ +--- backend/libinput/switch.c.orig 2022-02-03 13:19:54.000000000 -0800 ++++ backend/libinput/switch.c 2026-04-08 15:45:12.489184000 -0700 +@@ -40,6 +40,8 @@ void handle_switch_toggle(struct libinput_event *event + case LIBINPUT_SWITCH_TABLET_MODE: + wlr_event.switch_type = WLR_SWITCH_TYPE_TABLET_MODE; + break; ++ case LIBINPUT_SWITCH_KEYPAD_SLIDE: ++ return; + } + switch (libinput_event_switch_get_switch_state(sevent)) { + case LIBINPUT_SWITCH_STATE_OFF: diff --git a/x11-toolkits/wlroots017/Makefile b/x11-toolkits/wlroots017/Makefile index e4a2ad24d882..86abb6f655c3 100644 --- a/x11-toolkits/wlroots017/Makefile +++ b/x11-toolkits/wlroots017/Makefile @@ -1,6 +1,6 @@ PORTNAME= wlroots DISTVERSION= 0.17.4 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 017 diff --git a/x11-toolkits/wlroots017/files/patch-backend_libinput_switch.c b/x11-toolkits/wlroots017/files/patch-backend_libinput_switch.c new file mode 100644 index 000000000000..6158a9c144f8 --- /dev/null +++ b/x11-toolkits/wlroots017/files/patch-backend_libinput_switch.c @@ -0,0 +1,11 @@ +--- backend/libinput/switch.c.orig 2022-02-03 13:19:54.000000000 -0800 ++++ backend/libinput/switch.c 2026-04-08 15:45:12.489184000 -0700 +@@ -40,6 +40,8 @@ void handle_switch_toggle(struct libinput_event *event + case LIBINPUT_SWITCH_TABLET_MODE: + wlr_event.switch_type = WLR_SWITCH_TYPE_TABLET_MODE; + break; ++ case LIBINPUT_SWITCH_KEYPAD_SLIDE: ++ return; + } + switch (libinput_event_switch_get_switch_state(sevent)) { + case LIBINPUT_SWITCH_STATE_OFF: diff --git a/x11-toolkits/wlroots018/Makefile b/x11-toolkits/wlroots018/Makefile index 14cd4eb94b01..31f76b55948c 100644 --- a/x11-toolkits/wlroots018/Makefile +++ b/x11-toolkits/wlroots018/Makefile @@ -1,6 +1,6 @@ PORTNAME= wlroots DISTVERSION= 0.18.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits PKGNAMESUFFIX= 018 diff --git a/x11-toolkits/wlroots018/files/patch-backend_libinput_switch.c b/x11-toolkits/wlroots018/files/patch-backend_libinput_switch.c new file mode 100644 index 000000000000..6158a9c144f8 --- /dev/null +++ b/x11-toolkits/wlroots018/files/patch-backend_libinput_switch.c @@ -0,0 +1,11 @@ +--- backend/libinput/switch.c.orig 2022-02-03 13:19:54.000000000 -0800 ++++ backend/libinput/switch.c 2026-04-08 15:45:12.489184000 -0700 +@@ -40,6 +40,8 @@ void handle_switch_toggle(struct libinput_event *event + case LIBINPUT_SWITCH_TABLET_MODE: + wlr_event.switch_type = WLR_SWITCH_TYPE_TABLET_MODE; + break; ++ case LIBINPUT_SWITCH_KEYPAD_SLIDE: ++ return; + } + switch (libinput_event_switch_get_switch_state(sevent)) { + case LIBINPUT_SWITCH_STATE_OFF:home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a06b27e.1959b.67fab8e4>
