summaryrefslogtreecommitdiff
path: root/libre/sdl/SDL-1.2.15-const_XData32.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-28 21:30:21 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-28 21:30:21 -0300
commit149a85dff3e7fd908c2935a6ba8784e848d53110 (patch)
tree663e7c4560c0acfb639100af5d0403bcab157f7e /libre/sdl/SDL-1.2.15-const_XData32.patch
parent680eb08892d1e6f49e7f5dad41908075fd943156 (diff)
sdl-1.2.15-7.parabola1: import most of Fedora's patches (FS#39227 -> https://bugs.archlinux.org/task/39227)
Diffstat (limited to 'libre/sdl/SDL-1.2.15-const_XData32.patch')
-rw-r--r--libre/sdl/SDL-1.2.15-const_XData32.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libre/sdl/SDL-1.2.15-const_XData32.patch b/libre/sdl/SDL-1.2.15-const_XData32.patch
new file mode 100644
index 000000000..0f1c07cfb
--- /dev/null
+++ b/libre/sdl/SDL-1.2.15-const_XData32.patch
@@ -0,0 +1,16 @@
+libX11-1.5.99.901 has changed prototype of _XData32
+
+<http://bugzilla.libsdl.org/show_bug.cgi?id=1769>
+
+diff -r b6b2829cd7ef src/video/x11/SDL_x11sym.h
+--- a/src/video/x11/SDL_x11sym.h Wed Feb 27 15:20:31 2013 -0800
++++ b/src/video/x11/SDL_x11sym.h Wed Mar 27 16:07:23 2013 +0100
+@@ -165,7 +165,7 @@
+ */
+ #ifdef LONG64
+ SDL_X11_MODULE(IO_32BIT)
+-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
++SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
+ SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
+ #endif
+