File: SDL_revision.h-Include-SDL-prefix-in-SDL_REVISION.patch

package info (click to toggle)
libsdl3 3.2.28%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,080 kB
  • sloc: ansic: 391,330; objc: 12,361; xml: 9,084; cpp: 5,729; perl: 4,589; python: 3,373; sh: 1,032; makefile: 265; cs: 56
file content (43 lines) | stat: -rw-r--r-- 1,606 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From: Simon McVittie <smcv@debian.org>
Date: Wed, 3 Dec 2025 15:21:44 +0000
Subject: SDL_revision.h: Include SDL- prefix in SDL_REVISION

Bug: https://github.com/libsdl-org/SDL/issues/14575
Forwarded: not-needed
---
 include/SDL3/SDL_revision.h               | 4 ++--
 include/build_config/SDL_revision.h.cmake | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/SDL3/SDL_revision.h b/include/SDL3/SDL_revision.h
index e5a4605..413dabf 100644
--- a/include/SDL3/SDL_revision.h
+++ b/include/SDL3/SDL_revision.h
@@ -48,9 +48,9 @@
  */
 #define SDL_REVISION "Some arbitrary string decided at SDL build time"
 #elif defined(SDL_VENDOR_INFO)
-#define SDL_REVISION "release-3.2.28-0-g7f3ae3d57 (" SDL_VENDOR_INFO ")"
+#define SDL_REVISION "SDL-release-3.2.28-0-g7f3ae3d57 (" SDL_VENDOR_INFO ")"
 #else
-#define SDL_REVISION "release-3.2.28-0-g7f3ae3d57"
+#define SDL_REVISION "SDL-release-3.2.28-0-g7f3ae3d57"
 #endif
 
 #endif /* SDL_revision_h_ */
diff --git a/include/build_config/SDL_revision.h.cmake b/include/build_config/SDL_revision.h.cmake
index eaf5f32..93d8bad 100644
--- a/include/build_config/SDL_revision.h.cmake
+++ b/include/build_config/SDL_revision.h.cmake
@@ -33,9 +33,9 @@
 #cmakedefine SDL_VENDOR_INFO "@SDL_VENDOR_INFO@"
 
 #if defined(SDL_VENDOR_INFO)
-#define SDL_REVISION "release-3.2.28-0-g7f3ae3d57 (" SDL_VENDOR_INFO ")"
+#define SDL_REVISION "SDL-release-3.2.28-0-g7f3ae3d57 (" SDL_VENDOR_INFO ")"
 #else
-#define SDL_REVISION "release-3.2.28-0-g7f3ae3d57"
+#define SDL_REVISION "SDL-release-3.2.28-0-g7f3ae3d57"
 #endif
 
 #endif /* SDL_revision_h_ */