[packages/SDL] Rel 9

arekm arekm at pld-linux.org
Fri May 8 13:49:28 CEST 2026


commit 12002f0650de53cd9ce3fa8984f0cbf34ead8384
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri May 8 13:49:18 2026 +0200

    Rel 9

 SDL-xext-proto-fix.patch | 37 +++++++++++++++++++++++++++++++++++++
 SDL.spec                 |  4 +++-
 2 files changed, 40 insertions(+), 1 deletion(-)
---
diff --git a/SDL.spec b/SDL.spec
index 4c92f83..593880e 100644
--- a/SDL.spec
+++ b/SDL.spec
@@ -27,7 +27,7 @@ Summary(pl.UTF-8):	SDL (Simple DirectMedia Layer) - Biblioteka do gier/multimedi
 Summary(zh_CN.UTF-8):	SDL (Simple DirectMedia Layer) Generic APIs - 游戏/多媒体库
 Name:		SDL
 Version:	1.2.15
-Release:	8
+Release:	9
 License:	LGPL v2.1+
 Group:		Libraries
 Source0:	http://www.libsdl.org/release/%{name}-%{version}.tar.gz
@@ -37,6 +37,7 @@ Patch1:		%{name}-new_gamma_ramp_support.patch
 Patch2:		fix-mouse-click.patch
 Patch3:		%{name}-config.patch
 Patch4:		%{name}-const_XData32.patch
+Patch5:		%{name}-xext-proto-fix.patch
 URL:		http://www.libsdl.org/
 %{?with_directfb:BuildRequires:	DirectFB-devel >= 0.9.15}
 BuildRequires:	OpenGL-GLU-devel
@@ -175,6 +176,7 @@ SDL - przykładowe programy.
 %patch -P2 -p1
 %patch -P3 -p1
 %patch -P4 -p1
+%patch -P5 -p1
 
 : > acinclude.m4
 %{!?with_alsa:echo 'AC_DEFUN([AM_PATH_ALSA],[$3])' >> acinclude.m4}
diff --git a/SDL-xext-proto-fix.patch b/SDL-xext-proto-fix.patch
new file mode 100644
index 0000000..b60471f
--- /dev/null
+++ b/SDL-xext-proto-fix.patch
@@ -0,0 +1,37 @@
+--- src/video/Xext/Xinerama/Xinerama.c	2026-05-08 12:31:04.997279909 +0200
++++ SDL-1.2.15/src/video/Xext/Xinerama/Xinerama.c	2026-05-08 12:31:05.065069152 +0200
+@@ -50,7 +50,7 @@
+ #define PanoramiXSimpleCheckExtension(dpy,i) \
+   XextSimpleCheckExtension (dpy, i, panoramiX_extension_name)
+ 
+-static int close_display();
++static XEXT_CLOSE_DISPLAY_PROTO(close_display);
+ static /* const */ XExtensionHooks panoramiX_extension_hooks = {
+     NULL,				/* create_gc */
+     NULL,				/* copy_gc */
+--- src/video/Xext/Xv/Xv.c	2026-05-08 12:31:04.998873910 +0200
++++ SDL-1.2.15/src/video/Xext/Xv/Xv.c	2026-05-08 12:31:05.065295479 +0200
+@@ -63,9 +63,9 @@
+ #define XvCheckExtension(dpy, i, val) \
+   XextCheckExtension(dpy, i, xv_extension_name, val)
+ 
+-static char *xv_error_string();
+-static int xv_close_display();
+-static Bool xv_wire_to_event();
++static char *xv_error_string(Display*, int, XExtCodes*, char*, int);
++static XEXT_CLOSE_DISPLAY_PROTO(xv_close_display);
++static Bool xv_wire_to_event(Display*, XEvent*, xEvent*);
+ 
+ static XExtensionHooks xv_extension_hooks = {
+     NULL,                               /* create_gc */
+--- src/video/Xext/XME/xme.c	2026-05-08 12:31:05.000415720 +0200
++++ SDL-1.2.15/src/video/Xext/XME/xme.c	2026-05-08 12:31:05.065177798 +0200
+@@ -206,7 +206,7 @@
+ /*
+  * find_display - locate the display info block
+  */
+-static int XiGMiscCloseDisplay();
++static XEXT_CLOSE_DISPLAY_PROTO(XiGMiscCloseDisplay);
+ 
+ static XExtensionHooks xigmisc_extension_hooks = {
+     NULL,                               /* create_gc */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SDL.git/commitdiff/12002f0650de53cd9ce3fa8984f0cbf34ead8384



More information about the pld-cvs-commit mailing list