diff --git a/testing/wayneko/APKBUILD b/testing/wayneko/APKBUILD index 6a0962425da..52e586a716d 100644 --- a/testing/wayneko/APKBUILD +++ b/testing/wayneko/APKBUILD @@ -1,16 +1,15 @@ maintainer="Hannes Braun " pkgname=wayneko -pkgver=0_git20260324 +pkgver=0_git20260326 pkgrel=0 -_gitrev=1dbd1088c5821fc2ea0c9b1f2b632fbf0c3c791a +_gitrev=437a8a708ea68f0288becb047b582e84ef3e412c pkgdesc="Displays an animated neko cat on the bottom of an output" url="https://sr.ht/~leon_plickat/wayneko" arch="all" license="GPL-3.0-only" makedepends="pixman-dev wayland-dev" subpackages="$pkgname-bash-completion $pkgname-doc $pkgname-zsh-completion" -source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~leon_plickat/wayneko/archive/$_gitrev.tar.gz - fix-func-pointers.patch" +source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~leon_plickat/wayneko/archive/$_gitrev.tar.gz" options="!check" # no test suite builddir="$srcdir/$pkgname-$_gitrev" @@ -23,6 +22,5 @@ package() { } sha512sums=" -c6c273eb6f85ce8bbfc8587c34ba802d9464347caa32a2a68b70650f3270f27087f7a21f36e4e57d93990144fb7d956e5cf89dd1914d48b6cca12caa6c4239f3 wayneko-0_git20260324.tar.gz -715df613352e16e2c8cd83214a954460940e83035de9d629e0d1e05f4f40a603abc9fb4c7f5101f9bd715029bbc53a2a4285b33b7f310688625332ceef5944b2 fix-func-pointers.patch +147ca67b6e77266fcb27042c015ae3e5536bb1f0e374bedd4c936313fe3d8787d8e6ecd27ece305f68be6ac9fdfc02e490fa507061f2226a6c26f4e95d28afc1 wayneko-0_git20260326.tar.gz " diff --git a/testing/wayneko/fix-func-pointers.patch b/testing/wayneko/fix-func-pointers.patch deleted file mode 100644 index fa05bbb11fb..00000000000 --- a/testing/wayneko/fix-func-pointers.patch +++ /dev/null @@ -1,78 +0,0 @@ -From: Jamie Magee -To: ~leon_plickat/public-inbox@lists.sr.ht -Cc: Jamie Magee -Subject: [PATCH] fix incompatible-pointer-types errors with GCC 14 -Date: Thu, 19 Mar 2026 08:52:11 -0700 -Message-ID: <20260319155211.184961-1-jamie.magee@gmail.com> -X-Mailer: git-send-email 2.53.0 -MIME-Version: 1.0 -Content-Transfer-Encoding: 8bit - -Replace the untyped noop() stub with properly typed per-callback -stubs. GCC 14 treats -Wincompatible-pointer-types as an error by -default, which breaks the build because noop() has an unspecified -parameter list that doesn't match the Wayland listener signatures. - -Signed-off-by: Jamie Magee ---- - wayneko.c | 30 +++++++++++++++++++++--------- - 1 file changed, 21 insertions(+), 9 deletions(-) - -diff --git a/wayneko.c b/wayneko.c -index 4dfb36e..b560069 100644 ---- a/wayneko.c -+++ b/wayneko.c -@@ -151,8 +151,20 @@ const int surface_amount = 1; - - struct wl_list buffer_pool; - --/* No-Op function plugged into Wayland listeners we don't care about. */ --static void noop () {} -+/* No-Op stubs for Wayland listener callbacks we don't care about. */ -+static void noop_pointer_axis_discrete(void *data, struct wl_pointer *p, -+ uint32_t axis, int32_t discrete) { (void)data; (void)p; (void)axis; (void)discrete; } -+static void noop_pointer_axis(void *data, struct wl_pointer *p, -+ uint32_t time, uint32_t axis, wl_fixed_t value) { (void)data; (void)p; (void)time; (void)axis; (void)value; } -+static void noop_pointer_axis_source(void *data, struct wl_pointer *p, -+ uint32_t axis_source) { (void)data; (void)p; (void)axis_source; } -+static void noop_pointer_axis_stop(void *data, struct wl_pointer *p, -+ uint32_t time, uint32_t axis) { (void)data; (void)p; (void)time; (void)axis; } -+static void noop_pointer_button(void *data, struct wl_pointer *p, -+ uint32_t serial, uint32_t time, uint32_t button, uint32_t state) { (void)data; (void)p; (void)serial; (void)time; (void)button; (void)state; } -+static void noop_pointer_frame(void *data, struct wl_pointer *p) { (void)data; (void)p; } -+static void noop_seat_name(void *data, struct wl_seat *seat, -+ const char *name) { (void)data; (void)seat; (void)name; } - - /************* - * * -@@ -553,12 +565,12 @@ static const struct wl_pointer_listener pointer_listener = { - .enter = pointer_handle_enter, - .leave = pointer_handle_leave, - .motion = pointer_handle_motion, -- .axis_discrete = noop, -- .axis = noop, -- .axis_source = noop, -- .axis_stop = noop, -- .button = noop, -- .frame = noop, -+ .axis_discrete = noop_pointer_axis_discrete, -+ .axis = noop_pointer_axis, -+ .axis_source = noop_pointer_axis_source, -+ .axis_stop = noop_pointer_axis_stop, -+ .button = noop_pointer_button, -+ .frame = noop_pointer_frame, - }; - - static void seat_bind_pointer (struct Seat *seat) -@@ -580,7 +592,7 @@ static void seat_handle_capabilities (void *data, struct wl_seat *wl_seat, - - static const struct wl_seat_listener seat_listener = { - .capabilities = seat_handle_capabilities, -- .name = noop, -+ .name = noop_seat_name, - }; - - static void ext_idle_notification_handle_idled (void *data, --- -2.53.0 -