From b563ea66e7ee7dd1130d0681c43b8d78569f36ce290a9210c3ea06dc6ad75b42 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 23 Aug 2019 11:20:16 +0000 Subject: [PATCH] - Update sdl2-symvers.patch for SDL 2.0.9/2.0.10. OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=90 --- SDL2.changes | 5 ++++ SDL2.spec | 1 + sdl2-symvers.patch | 64 +++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 66 insertions(+), 4 deletions(-) diff --git a/SDL2.changes b/SDL2.changes index 0149bad..b8bd2da 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 23 11:19:59 UTC 2019 - Jan Engelhardt + +- Update sdl2-symvers.patch for SDL 2.0.9/2.0.10. + ------------------------------------------------------------------- Thu Aug 22 16:43:13 UTC 2019 - Michael Gorse diff --git a/SDL2.spec b/SDL2.spec index 62f05ff..2d2e229 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -16,6 +16,7 @@ # +%define sle_version 0 Name: SDL2 %define lname libSDL2-2_0-0 Version: 2.0.10 diff --git a/sdl2-symvers.patch b/sdl2-symvers.patch index 02c9a9b..d14463f 100644 --- a/sdl2-symvers.patch +++ b/sdl2-symvers.patch @@ -4,9 +4,9 @@ Date: 2018-01-10 23:56:12.245827883 +0100 Scrape the SDL announcements since 2.0.3 (version in Leap 42.3) and add some symvers so that zypper knows when to upgrade SDL. --- - Makefile.in | 2 - - sdl2.sym | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - 2 files changed, 69 insertions(+), 1 deletion(-) + Makefile.in | 2 + sdl2.sym | 124 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 125 insertions(+), 1 deletion(-) Index: SDL2-2.0.10/Makefile.in =================================================================== @@ -25,7 +25,7 @@ Index: SDL2-2.0.10/sdl2.sym =================================================================== --- /dev/null +++ SDL2-2.0.10/sdl2.sym -@@ -0,0 +1,68 @@ +@@ -0,0 +1,124 @@ +SUSE_2.0.5 { +global: + SDL_DequeueAudio; @@ -94,3 +94,59 @@ Index: SDL2-2.0.10/sdl2.sym + SDL_SetYUVConversionMode; + SDL_GetYUVConversionMode; +} SUSE_2.0.7; ++SUSE_2.0.9 { ++global: ++ SDL_CreateThreadWithStackSize; ++ SDL_GameControllerGetPlayerIndex; ++ SDL_GameControllerMappingForDeviceIndex; ++ SDL_GameControllerRumble; ++ SDL_GetDisplayOrientation; ++ SDL_HasAVX512F; ++ SDL_HasColorKey; ++ SDL_IsTablet; ++ SDL_JoystickGetDevicePlayerIndex; ++ SDL_JoystickGetPlayerIndex; ++ SDL_JoystickRumble; ++ SDL_LinuxSetThreadPriority; ++ SDL_NumSensors; ++ SDL_SensorClose; ++ SDL_SensorFromInstanceID; ++ SDL_SensorGetData; ++ SDL_SensorGetDeviceInstanceID; ++ SDL_SensorGetDeviceName; ++ SDL_SensorGetDeviceNonPortableType; ++ SDL_SensorGetDeviceType; ++ SDL_SensorGetInstanceID; ++ SDL_SensorGetName; ++ SDL_SensorGetNonPortableType; ++ SDL_SensorGetType; ++ SDL_SensorOpen; ++ SDL_SensorUpdate; ++ SDL_exp; ++ SDL_expf; ++ SDL_wcsdup; ++} SUSE_2.0.8; ++SUSE_2.0.10 { ++global: ++ SDL_GetTouchDeviceType; ++ SDL_RWclose; ++ SDL_RWread; ++ SDL_RWseek; ++ SDL_RWsize; ++ SDL_RWtell; ++ SDL_RWwrite; ++ SDL_RenderCopyExF; ++ SDL_RenderCopyF; ++ SDL_RenderDrawLineF; ++ SDL_RenderDrawLinesF; ++ SDL_RenderDrawPointF; ++ SDL_RenderDrawPointsF; ++ SDL_RenderDrawRectF; ++ SDL_RenderDrawRectsF; ++ SDL_RenderFillRectF; ++ SDL_RenderFillRectsF; ++ SDL_RenderFlush; ++ SDL_SIMDAlloc; ++ SDL_SIMDFree; ++ SDL_SIMDGetAlignment; ++} SUSE_2.0.9;