|
|
@@ -1,20 +1,24 @@
|
|
|
-sdl: Fix compilation with libX11 >= 1.5.99.902
|
|
|
-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
|
|
-
|
|
|
-# HG changeset patch
|
|
|
-# User Azamat H. Hackimov <azamat.hackimov@gmail.com>
|
|
|
-# Date 1370184533 -21600
|
|
|
-# Node ID 91ad7b43317a6387e115ecdf63a49137f47e42c8
|
|
|
-# Parent f7fd5c3951b9ed922fdf696f7182e71b58a13268
|
|
|
-Fix compilation with libX11 >= 1.5.99.902.
|
|
|
+From 41410b72746cfc7ff515aefed62b0b179bf6e8da Mon Sep 17 00:00:00 2001
|
|
|
+From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
|
|
|
+Date: Sun, 2 Jun 2013 20:48:53 +0600
|
|
|
+Subject: [PATCH] Fix compilation with libX11 >= 1.5.99.902.
|
|
|
|
|
|
These changes fixes bug #1769 for SDL 1.2
|
|
|
(http://bugzilla.libsdl.org/show_bug.cgi?id=1769).
|
|
|
|
|
|
-diff -r f7fd5c3951b9 -r 91ad7b43317a configure.in
|
|
|
---- a/configure.in Wed Apr 17 00:56:53 2013 -0700
|
|
|
-+++ b/configure.in Sun Jun 02 20:48:53 2013 +0600
|
|
|
-@@ -1169,6 +1169,17 @@
|
|
|
+Upstream: 5d79977ec7a6b58afa6e4817035aaaba186f7e9f
|
|
|
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
|
|
|
+---
|
|
|
+ configure.in | 11 +++++++++++
|
|
|
+ include/SDL_config.h.in | 1 +
|
|
|
+ src/video/x11/SDL_x11sym.h | 4 ++++
|
|
|
+ 3 files changed, 16 insertions(+)
|
|
|
+
|
|
|
+diff --git a/configure.in b/configure.in
|
|
|
+index 08c8e1e9..89c526d4 100644
|
|
|
+--- a/configure.in
|
|
|
++++ b/configure.in
|
|
|
+@@ -1127,6 +1127,17 @@ AC_HELP_STRING([--enable-video-x11-xrandr], [enable X11 Xrandr extension for ful
|
|
|
if test x$definitely_enable_video_x11_xrandr = xyes; then
|
|
|
AC_DEFINE(SDL_VIDEO_DRIVER_X11_XRANDR)
|
|
|
fi
|
|
|
@@ -32,10 +36,11 @@ diff -r f7fd5c3951b9 -r 91ad7b43317a configure.in
|
|
|
fi
|
|
|
fi
|
|
|
}
|
|
|
-diff -r f7fd5c3951b9 -r 91ad7b43317a include/SDL_config.h.in
|
|
|
---- a/include/SDL_config.h.in Wed Apr 17 00:56:53 2013 -0700
|
|
|
-+++ b/include/SDL_config.h.in Sun Jun 02 20:48:53 2013 +0600
|
|
|
-@@ -283,6 +283,7 @@
|
|
|
+diff --git a/include/SDL_config.h.in b/include/SDL_config.h.in
|
|
|
+index 8bb1773c..78ca747b 100644
|
|
|
+--- a/include/SDL_config.h.in
|
|
|
++++ b/include/SDL_config.h.in
|
|
|
+@@ -282,6 +282,7 @@
|
|
|
#undef SDL_VIDEO_DRIVER_WINDIB
|
|
|
#undef SDL_VIDEO_DRIVER_WSCONS
|
|
|
#undef SDL_VIDEO_DRIVER_X11
|
|
|
@@ -43,10 +48,11 @@ diff -r f7fd5c3951b9 -r 91ad7b43317a include/SDL_config.h.in
|
|
|
#undef SDL_VIDEO_DRIVER_X11_DGAMOUSE
|
|
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC
|
|
|
#undef SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT
|
|
|
-diff -r f7fd5c3951b9 -r 91ad7b43317a src/video/x11/SDL_x11sym.h
|
|
|
---- a/src/video/x11/SDL_x11sym.h Wed Apr 17 00:56:53 2013 -0700
|
|
|
-+++ b/src/video/x11/SDL_x11sym.h Sun Jun 02 20:48:53 2013 +0600
|
|
|
-@@ -165,7 +165,11 @@
|
|
|
+diff --git a/src/video/x11/SDL_x11sym.h b/src/video/x11/SDL_x11sym.h
|
|
|
+index 4875b989..bd83f7f5 100644
|
|
|
+--- a/src/video/x11/SDL_x11sym.h
|
|
|
++++ b/src/video/x11/SDL_x11sym.h
|
|
|
+@@ -165,7 +165,11 @@ SDL_X11_SYM(Bool,XShmQueryExtension,(Display* a),(a),return)
|
|
|
*/
|
|
|
#ifdef LONG64
|
|
|
SDL_X11_MODULE(IO_32BIT)
|
|
|
@@ -58,3 +64,6 @@ diff -r f7fd5c3951b9 -r 91ad7b43317a src/video/x11/SDL_x11sym.h
|
|
|
SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
|
|
|
#endif
|
|
|
|
|
|
+--
|
|
|
+2.50.1
|
|
|
+
|