summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Golle2025-07-13 02:17:46 +0000
committerDaniel Golle2025-07-16 11:17:50 +0000
commit6669b32996a9f110078d9de8356351f525f053dd (patch)
treee35a1b40fcf7051b1b654630a9586d66240792e0
parentc7cdfe1b49d2847b7903199ca6b15843552f15a9 (diff)
downloadvideo-6669b32996a9f110078d9de8356351f525f053dd.tar.gz
sdl2: update to 2.32.8
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r--libs/sdl2/Makefile4
-rw-r--r--libs/sdl2/patches/100-fix-segfault-in-Wayland_DestroyWindow.patch4
-rw-r--r--libs/sdl2/patches/110-tests-no-libunwind.patch2
3 files changed, 5 insertions, 5 deletions
diff --git a/libs/sdl2/Makefile b/libs/sdl2/Makefile
index 0f95ce3..30d8b04 100644
--- a/libs/sdl2/Makefile
+++ b/libs/sdl2/Makefile
@@ -1,12 +1,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=sdl2
-PKG_VERSION:=2.30.9
+PKG_VERSION:=2.32.8
PKG_RELEASE:=1
PKG_SOURCE:=SDL2-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.libsdl.org/release/
-PKG_HASH:=24b574f71c87a763f50704bbb630cbe38298d544a1f890f099a4696b1d6beba4
+PKG_HASH:=0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e
PKG_BUILD_DIR:=$(BUILD_DIR)/SDL2-$(PKG_VERSION)
diff --git a/libs/sdl2/patches/100-fix-segfault-in-Wayland_DestroyWindow.patch b/libs/sdl2/patches/100-fix-segfault-in-Wayland_DestroyWindow.patch
index c279e35..dcda488 100644
--- a/libs/sdl2/patches/100-fix-segfault-in-Wayland_DestroyWindow.patch
+++ b/libs/sdl2/patches/100-fix-segfault-in-Wayland_DestroyWindow.patch
@@ -1,6 +1,6 @@
--- a/src/video/wayland/SDL_waylandwindow.c
+++ b/src/video/wayland/SDL_waylandwindow.c
-@@ -2208,7 +2208,7 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
+@@ -2292,7 +2292,7 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
SDL_VideoData *data = _this->driverdata;
SDL_WindowData *wind = window->driverdata;
@@ -9,7 +9,7 @@
#ifdef SDL_VIDEO_OPENGL_EGL
if (wind->egl_surface) {
SDL_EGL_DestroySurface(_this, wind->egl_surface);
-@@ -2256,6 +2256,8 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
+@@ -2346,6 +2346,8 @@ void Wayland_DestroyWindow(_THIS, SDL_Wi
wl_surface_destroy(wind->surface);
SDL_free(wind);
diff --git a/libs/sdl2/patches/110-tests-no-libunwind.patch b/libs/sdl2/patches/110-tests-no-libunwind.patch
index 85fa9cb..3de3e5a 100644
--- a/libs/sdl2/patches/110-tests-no-libunwind.patch
+++ b/libs/sdl2/patches/110-tests-no-libunwind.patch
@@ -1,6 +1,6 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -1622,7 +1622,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS
+@@ -1632,7 +1632,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS
endif()
endif()