From 5527c94907b0ea20f2e8816601036cf323925500e065ab2796d757e3ef9b2e9d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 11 Aug 2021 16:09:53 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=110 --- sdl2-fix-wayland-fullscreen.patch | 15 ++++++--------- sdl2-symvers.patch | 12 ++++++------ 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/sdl2-fix-wayland-fullscreen.patch b/sdl2-fix-wayland-fullscreen.patch index 669f5c5..cb89205 100644 --- a/sdl2-fix-wayland-fullscreen.patch +++ b/sdl2-fix-wayland-fullscreen.patch @@ -6,14 +6,14 @@ Subject: [PATCH] wayland: Ignore stateless/sizeless configs when starting in fullscreen mode --- - src/video/wayland/SDL_waylandwindow.c | 10 ++++++++-- + src/video/wayland/SDL_waylandwindow.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) -diff --git src/video/wayland/SDL_waylandwindow.c src/video/wayland/SDL_waylandwindow.c -index 025dd30ee..451d33b76 100644 ---- src/video/wayland/SDL_waylandwindow.c -+++ src/video/wayland/SDL_waylandwindow.c -@@ -219,9 +219,15 @@ handle_configure_xdg_toplevel(void *data, +Index: SDL2-2.0.16/src/video/wayland/SDL_waylandwindow.c +=================================================================== +--- SDL2-2.0.16.orig/src/video/wayland/SDL_waylandwindow.c ++++ SDL2-2.0.16/src/video/wayland/SDL_waylandwindow.c +@@ -219,9 +219,15 @@ handle_configure_xdg_toplevel(void *data /* Foolishly do what the compositor says here. If it's wrong, don't * blame us, we were explicitly instructed to do this. @@ -31,6 +31,3 @@ index 025dd30ee..451d33b76 100644 /* This part is good though. */ if (window->flags & SDL_WINDOW_ALLOW_HIGHDPI) { --- -2.32.0 - diff --git a/sdl2-symvers.patch b/sdl2-symvers.patch index d14463f..b02cd89 100644 --- a/sdl2-symvers.patch +++ b/sdl2-symvers.patch @@ -8,11 +8,11 @@ some symvers so that zypper knows when to upgrade SDL. sdl2.sym | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 1 deletion(-) -Index: SDL2-2.0.10/Makefile.in +Index: SDL2-2.0.16/Makefile.in =================================================================== ---- SDL2-2.0.10.orig/Makefile.in -+++ SDL2-2.0.10/Makefile.in -@@ -125,7 +125,7 @@ LT_AGE = @LT_AGE@ +--- SDL2-2.0.16.orig/Makefile.in ++++ SDL2-2.0.16/Makefile.in +@@ -132,7 +132,7 @@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_RELEASE = @LT_RELEASE@ LT_REVISION = @LT_REVISION@ @@ -21,10 +21,10 @@ Index: SDL2-2.0.10/Makefile.in all: $(srcdir)/configure Makefile $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) $(objects)/$(SDLTEST_TARGET) -Index: SDL2-2.0.10/sdl2.sym +Index: SDL2-2.0.16/sdl2.sym =================================================================== --- /dev/null -+++ SDL2-2.0.10/sdl2.sym ++++ SDL2-2.0.16/sdl2.sym @@ -0,0 +1,124 @@ +SUSE_2.0.5 { +global: