Debian Codegraph @

docker/images/armabuild/libsdl-1.2.15-const-xdata32.patch

raw
1 # STRIPPED DOWN for Armagetron Advanced, we do not need the detection bits
2 # Original: http://hg.libsdl.org/SDL/raw-rev/91ad7b43317a
3 # HG changeset patch
4 # User Azamat H. Hackimov <[email protected]>
5 # Date 1370184533 -21600
6 # Branch SDL-1.2
7 # Node ID 91ad7b43317a6387e115ecdf63a49137f47e42c8
8 # Parent f7fd5c3951b9ed922fdf696f7182e71b58a13268
9 Fix compilation with libX11 >= 1.5.99.902.
10
11 These changes fixes bug #1769 for SDL 1.2
12 (http://bugzilla.libsdl.org/show_bug.cgi?id=1769).
13
14 diff -r f7fd5c3951b9 -r 91ad7b43317a src/video/x11/SDL_x11sym.h
15 --- a/src/video/x11/SDL_x11sym.h Wed Apr 17 00:56:53 2013 -0700
16 +++ b/src/video/x11/SDL_x11sym.h Sun Jun 02 20:48:53 2013 +0600
17 @@ -165,7 +165,7 @@
18 */
19 #ifdef LONG64
20 SDL_X11_MODULE(IO_32BIT)
21 +SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
22 -SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
23 SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
24 #endif
25