diff options
author | brainpower | 2015-06-16 23:15:35 +0200 |
---|---|---|
committer | brainpower | 2015-06-16 23:15:35 +0200 |
commit | 06d6ea007c98c942d0f71fd97e212db8cead2422 (patch) | |
tree | 9338852d32068f9f6b36d193f69855fdb95fc96e /SDL-1.2.15-const_XData32.patch | |
download | aur-sdl-openglhq.tar.gz |
create sdl-openglhq with version 1.2.15
Diffstat (limited to 'SDL-1.2.15-const_XData32.patch')
-rw-r--r-- | SDL-1.2.15-const_XData32.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/SDL-1.2.15-const_XData32.patch b/SDL-1.2.15-const_XData32.patch new file mode 100644 index 000000000000..0f1c07cfb113 --- /dev/null +++ b/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 + |