Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sdl2-compat for openSUSE:Factory 
checked in at 2026-05-04 12:48:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sdl2-compat (Old)
 and      /work/SRC/openSUSE:Factory/.sdl2-compat.new.30200 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sdl2-compat"

Mon May  4 12:48:17 2026 rev:10 rq:1350439 version:2.32.68

Changes:
--------
--- /work/SRC/openSUSE:Factory/sdl2-compat/sdl2-compat.changes  2026-04-05 
18:24:03.505676410 +0200
+++ /work/SRC/openSUSE:Factory/.sdl2-compat.new.30200/sdl2-compat.changes       
2026-05-04 12:48:36.973372583 +0200
@@ -1,0 +2,9 @@
+Sat May  2 10:01:55 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Update to release 2.32.68
+  * Fixed gamepad rumble in Middle-earth: Shadow of Mordor and
+    other games on Linux
+  * Added an "SDL3_VERSION" hint that can be read by games using
+    sdl2-compat
+
+-------------------------------------------------------------------

Old:
----
  sdl2-compat-2.32.66.tar.gz
  sdl2-compat-2.32.66.tar.gz.sig

New:
----
  sdl2-compat-2.32.68.tar.gz
  sdl2-compat-2.32.68.tar.gz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ sdl2-compat.spec ++++++
--- /var/tmp/diff_new_pack.r48XzS/_old  2026-05-04 12:48:37.757404866 +0200
+++ /var/tmp/diff_new_pack.r48XzS/_new  2026-05-04 12:48:37.757404866 +0200
@@ -19,7 +19,7 @@
 %define lname libSDL2-2_0-0
 %global _lto_cflags %_lto_cflags -ffat-lto-objects
 Name:           sdl2-compat
-Version:        2.32.66
+Version:        2.32.68
 Release:        0
 Summary:        SDL-2.0 Compatibility Layer for Simple DirectMedia Layer 3.0
 License:        Zlib

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.r48XzS/_old  2026-05-04 12:48:37.813407172 +0200
+++ /var/tmp/diff_new_pack.r48XzS/_new  2026-05-04 12:48:37.821407502 +0200
@@ -1,5 +1,5 @@
-mtime: 1775264215
-commit: 4ce8e421145834a3da17d3392d5819594052e7cf47513084a260421d981582af
+mtime: 1777716136
+commit: 2230491f56d786a8b02927ff24a48845af41c18e5eb30cd0feed1310200acbcb
 url: https://src.opensuse.org/jengelh/sdl2-compat
 revision: master
 

++++++ sdl2-compat-2.32.66.tar.gz -> sdl2-compat-2.32.68.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/.git-hash 
new/sdl2-compat-2.32.68/.git-hash
--- old/sdl2-compat-2.32.66/.git-hash   2026-04-04 02:18:01.000000000 +0200
+++ new/sdl2-compat-2.32.68/.git-hash   2026-05-01 20:25:32.000000000 +0200
@@ -1 +1 @@
-2b38b378bb435204087f738c56524c5328f9534d
+84b4032aef2742f79bd7b4317a22b84b0fe14155
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/CMakeLists.txt 
new/sdl2-compat-2.32.68/CMakeLists.txt
--- old/sdl2-compat-2.32.66/CMakeLists.txt      2026-04-04 02:18:01.000000000 
+0200
+++ new/sdl2-compat-2.32.68/CMakeLists.txt      2026-05-01 20:25:32.000000000 
+0200
@@ -3,7 +3,7 @@
 #        cmake -DSDL3_INCLUDE_DIRS=/opt/SDL3/include [other stuff ....]
 
 cmake_minimum_required(VERSION 3.0...4.1)
-project(sdl2_compat VERSION 2.32.66 LANGUAGES C)
+project(sdl2_compat VERSION 2.32.68 LANGUAGES C)
 
 if(POLICY CMP0074)
   # CMP0074: find_package() uses <PackageName>_ROOT variables.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/REVISION.txt 
new/sdl2-compat-2.32.68/REVISION.txt
--- old/sdl2-compat-2.32.66/REVISION.txt        2026-04-04 02:18:01.000000000 
+0200
+++ new/sdl2-compat-2.32.68/REVISION.txt        2026-05-01 20:25:32.000000000 
+0200
@@ -1 +1 @@
-release-2.32.66-0-g2b38b37
+release-2.32.68-0-g84b4032
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/include/SDL2/SDL_atomic.h 
new/sdl2-compat-2.32.68/include/SDL2/SDL_atomic.h
--- old/sdl2-compat-2.32.66/include/SDL2/SDL_atomic.h   2026-01-01 
19:03:02.000000000 +0100
+++ new/sdl2-compat-2.32.68/include/SDL2/SDL_atomic.h   2026-04-28 
04:05:11.000000000 +0200
@@ -135,7 +135,9 @@
  * The compiler barrier prevents the compiler from reordering
  * reads and writes to globally visible variables across the call.
  */
-#if defined(_MSC_VER) && (_MSC_VER > 1200) && !defined(__clang__)
+#if _SDL_HAS_BUILTIN(__atomic_signal_fence) || (defined(__GNUC__) && (__GNUC__ 
>= 5))
+#define SDL_CompilerBarrier()   __atomic_signal_fence(__ATOMIC_SEQ_CST)
+#elif defined(_MSC_VER) && (_MSC_VER > 1200) && !defined(__clang__)
 void _ReadWriteBarrier(void);
 #pragma intrinsic(_ReadWriteBarrier)
 #define SDL_CompilerBarrier()   _ReadWriteBarrier()
@@ -146,8 +148,9 @@
 extern __inline void SDL_CompilerBarrier(void);
 #pragma aux SDL_CompilerBarrier = "" parm [] modify exact [];
 #else
+/* We don't unlock here to avoid possible infinite recursion */
 #define SDL_CompilerBarrier()   \
-{ SDL_SpinLock _tmp = 0; SDL_AtomicLock(&_tmp); SDL_AtomicUnlock(&_tmp); }
+{ SDL_SpinLock _tmp = 0; SDL_AtomicLock(&_tmp); }
 #endif
 
 /**
@@ -174,12 +177,23 @@
 extern DECLSPEC void SDLCALL SDL_MemoryBarrierReleaseFunction(void);
 extern DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void);
 
-#if defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
+#if _SDL_HAS_BUILTIN(__atomic_thread_fence) || (defined(__GNUC__) && (__GNUC__ 
>= 5))
+#define SDL_MemoryBarrierRelease()   __atomic_thread_fence(__ATOMIC_RELEASE)
+#define SDL_MemoryBarrierAcquire()   __atomic_thread_fence(__ATOMIC_ACQUIRE)
+#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__))
 #define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("lwsync" : : : 
"memory")
 #define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("lwsync" : : : 
"memory")
 #elif defined(__GNUC__) && defined(__aarch64__)
 #define SDL_MemoryBarrierRelease()   __asm__ __volatile__ ("dmb ish" : : : 
"memory")
-#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("dmb ish" : : : 
"memory")
+#define SDL_MemoryBarrierAcquire()   __asm__ __volatile__ ("dmb ishld" : : : 
"memory")
+#elif defined(_MSC_VER) && (defined(_M_ARM64) || defined(_M_ARM64EC))
+#include <arm64intr.h>
+#define SDL_MemoryBarrierRelease() __dmb(_ARM64_BARRIER_ISH)
+#define SDL_MemoryBarrierAcquire() __dmb(_ARM64_BARRIER_ISHLD)
+#elif defined(_MSC_VER) && defined(_M_ARM)
+#include <armintr.h>
+#define SDL_MemoryBarrierRelease() __dmb(_ARM_BARRIER_ISH)
+#define SDL_MemoryBarrierAcquire() __dmb(_ARM_BARRIER_ISH)
 #elif defined(__GNUC__) && defined(__arm__)
 #if 0 /* defined(__LINUX__) || defined(__ANDROID__) */
 /* Information from:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/include/SDL2/SDL_cpuinfo.h 
new/sdl2-compat-2.32.68/include/SDL2/SDL_cpuinfo.h
--- old/sdl2-compat-2.32.66/include/SDL2/SDL_cpuinfo.h  2026-01-01 
19:03:02.000000000 +0100
+++ new/sdl2-compat-2.32.68/include/SDL2/SDL_cpuinfo.h  2026-04-28 
04:05:11.000000000 +0200
@@ -39,21 +39,19 @@
 /* Need to do this here because intrin.h has C++ code in it */
 /* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
 #if defined(_MSC_VER) && (_MSC_VER >= 1500) && (defined(_M_IX86) || 
defined(_M_X64))
-#ifdef __clang__
 /* As of Clang 11, '_m_prefetchw' is conflicting with the winnt.h's version,
    so we define the needed '_m_prefetch' here as a pseudo-header, until the 
issue is fixed. */
-
+#if defined(__clang__) &&  !_SDL_HAS_BUILTIN(_m_prefetch)
 #ifndef __PRFCHWINTRIN_H
 #define __PRFCHWINTRIN_H
-
 static __inline__ void __attribute__((__always_inline__, __nodebug__))
 _m_prefetch(void *__P)
 {
-  __builtin_prefetch (__P, 0, 3 /* _MM_HINT_T0 */);
+  __builtin_prefetch(__P, 0, 3 /* _MM_HINT_T0 */);
 }
-
 #endif /* __PRFCHWINTRIN_H */
 #endif /* __clang__ */
+
 #include <intrin.h>
 #ifndef _WIN64
 #ifndef __MMX__
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/include/SDL2/SDL_hints.h 
new/sdl2-compat-2.32.68/include/SDL2/SDL_hints.h
--- old/sdl2-compat-2.32.66/include/SDL2/SDL_hints.h    2026-01-01 
19:03:02.000000000 +0100
+++ new/sdl2-compat-2.32.68/include/SDL2/SDL_hints.h    2026-04-28 
04:05:11.000000000 +0200
@@ -828,6 +828,19 @@
 #define SDL_HINT_JOYSTICK_HIDAPI "SDL_JOYSTICK_HIDAPI"
 
 /**
+ * A variable controlling whether the HIDAPI driver for 8BitDo controllers
+ * should be used.
+ *
+ * The variable can be set to the following values:
+ *
+ * - "0": HIDAPI driver is not used.
+ * - "1": HIDAPI driver is used.
+ *
+ * The default is the value of SDL_HINT_JOYSTICK_HIDAPI.
+ */
+#define SDL_HINT_JOYSTICK_HIDAPI_8BITDO "SDL_JOYSTICK_HIDAPI_8BITDO"
+
+/**
  * A variable controlling whether the HIDAPI driver for Nintendo GameCube
  * controllers should be used.
  *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/include/SDL2/SDL_revision.h 
new/sdl2-compat-2.32.68/include/SDL2/SDL_revision.h
--- old/sdl2-compat-2.32.66/include/SDL2/SDL_revision.h 2026-04-04 
02:18:01.000000000 +0200
+++ new/sdl2-compat-2.32.68/include/SDL2/SDL_revision.h 2026-05-01 
20:25:32.000000000 +0200
@@ -1,6 +1,6 @@
 #ifdef SDL_VENDOR_INFO
-#define SDL_REVISION "release-2.32.66-0-g2b38b37 (" SDL_VENDOR_INFO ")"
+#define SDL_REVISION "release-2.32.68-0-g84b4032 (" SDL_VENDOR_INFO ")"
 #else
-#define SDL_REVISION "release-2.32.66-0-g2b38b37"
+#define SDL_REVISION "release-2.32.68-0-g84b4032"
 #endif
 #define SDL_REVISION_NUMBER 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/include/SDL2/SDL_version.h 
new/sdl2-compat-2.32.68/include/SDL2/SDL_version.h
--- old/sdl2-compat-2.32.66/include/SDL2/SDL_version.h  2026-04-04 
02:18:01.000000000 +0200
+++ new/sdl2-compat-2.32.68/include/SDL2/SDL_version.h  2026-05-01 
20:25:32.000000000 +0200
@@ -58,7 +58,7 @@
 */
 #define SDL_MAJOR_VERSION   2
 #define SDL_MINOR_VERSION   32
-#define SDL_PATCHLEVEL      66
+#define SDL_PATCHLEVEL      68
 
 /**
  * Macro to determine SDL version program was compiled against.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/src/Makefile.darwin 
new/sdl2-compat-2.32.68/src/Makefile.darwin
--- old/sdl2-compat-2.32.66/src/Makefile.darwin 2026-04-04 02:18:01.000000000 
+0200
+++ new/sdl2-compat-2.32.68/src/Makefile.darwin 2026-05-01 20:25:32.000000000 
+0200
@@ -20,7 +20,7 @@
 LDFLAGS = -dynamiclib -Wl,-undefined,error -Wl,-single_module
 #LDFLAGS+= -Wl,-headerpad_max_install_names
 LDFLAGS+= -Wl,-install_name,"/usr/local/lib/$(DYLIB)"
-LDFLAGS+= -Wl,-compatibility_version,3201.0 -Wl,-current_version,3201.66
+LDFLAGS+= -Wl,-compatibility_version,3201.0 -Wl,-current_version,3201.68
 LDLIBS  = -Wl,-framework,AppKit
 # this is needed for x86_64 - cross-gcc might not add it.
 #LDLIBS += -Wl,-lbundle1.o
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/src/Makefile.linux 
new/sdl2-compat-2.32.68/src/Makefile.linux
--- old/sdl2-compat-2.32.66/src/Makefile.linux  2026-04-04 02:18:01.000000000 
+0200
+++ new/sdl2-compat-2.32.68/src/Makefile.linux  2026-05-01 20:25:32.000000000 
+0200
@@ -13,7 +13,7 @@
 LDFLAGS+= -Wl,--no-undefined
 LDLIBS  = -ldl
 
-SHLIB = libSDL2-2.0.so.0.3200.66
+SHLIB = libSDL2-2.0.so.0.3200.68
 
 OBJ = sdl2_compat.o dynapi/SDL_dynapi.o
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/src/sdl2_compat.c 
new/sdl2-compat-2.32.68/src/sdl2_compat.c
--- old/sdl2-compat-2.32.66/src/sdl2_compat.c   2026-04-04 02:18:01.000000000 
+0200
+++ new/sdl2-compat-2.32.68/src/sdl2_compat.c   2026-05-01 20:25:32.000000000 
+0200
@@ -58,7 +58,7 @@
  * The number might increment past 90 if there are a ton of releases.
  */
 #define SDL2_COMPAT_VERSION_MINOR 32
-#define SDL2_COMPAT_VERSION_PATCH 66
+#define SDL2_COMPAT_VERSION_PATCH 68
 
 #ifndef SDL2COMPAT_REVISION
 #define SDL2COMPAT_REVISION "SDL-2." STRINGIFY(SDL2_COMPAT_VERSION_MINOR) "." 
STRINGIFY(SDL2_COMPAT_VERSION_PATCH) "-no-vcs"
@@ -1086,6 +1086,8 @@
                         SDL2Compat_LogAtStartup(debugmsg);
                     }
                     SDL2Compat_ApplyQuirks(force_x11);  /* Apply and maybe 
print a list of any enabled quirks. */
+                    SDL2Compat_SetEnvAtStartup("SDL3_VERSION", sdl3verstr);
+                    SDL2Compat_SetEnvAtStartup("SDL2_COMPAT", "1");
                 }
             }
             #define SDL3_SYM(rc,fn,params,args,ret) SDL3_##fn = 
(SDL3_##fn##_t) LoadSDL3Symbol("SDL_" #fn, &okay);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sdl2-compat-2.32.66/src/version.rc 
new/sdl2-compat-2.32.68/src/version.rc
--- old/sdl2-compat-2.32.66/src/version.rc      2026-04-04 02:18:01.000000000 
+0200
+++ new/sdl2-compat-2.32.68/src/version.rc      2026-05-01 20:25:32.000000000 
+0200
@@ -3,8 +3,8 @@
 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 
 VS_VERSION_INFO VERSIONINFO
- FILEVERSION 2,32,66,0
- PRODUCTVERSION 2,32,66,0
+ FILEVERSION 2,32,68,0
+ PRODUCTVERSION 2,32,68,0
  FILEFLAGSMASK 0x3fL
  FILEFLAGS 0x0L
  FILEOS 0x40004L
@@ -17,12 +17,12 @@
         BEGIN
             VALUE "CompanyName", "\0"
             VALUE "FileDescription", "SDL\0"
-            VALUE "FileVersion", "2, 32, 66, 0\0"
+            VALUE "FileVersion", "2, 32, 68, 0\0"
             VALUE "InternalName", "SDL\0"
             VALUE "LegalCopyright", "Copyright (C) 2026 Sam Lantinga\0"
             VALUE "OriginalFilename", "SDL2.dll\0"
             VALUE "ProductName", "Simple DirectMedia Layer 2.0 wrapper\0"
-            VALUE "ProductVersion", "2, 32, 66, 0\0"
+            VALUE "ProductVersion", "2, 32, 68, 0\0"
         END
     END
     BLOCK "VarFileInfo"

Reply via email to