Annotation of /trunk/libsdl/patches/libsdl-1.2.15-x11-symbols.patch
Parent Directory | Revision Log
Revision 2399 -
(hide annotations)
(download)
Tue Feb 4 10:03:35 2014 UTC (10 years, 4 months ago) by niro
File size: 507 byte(s)
Tue Feb 4 10:03:35 2014 UTC (10 years, 4 months ago) by niro
File size: 507 byte(s)
-fix ftbfs with newer x11
1 | niro | 2399 | --- src/video/x11/SDL_x11sym.h-orig 2013-07-16 23:56:46.718523385 -0600 |
2 | +++ src/video/x11/SDL_x11sym.h 2013-07-16 23:58:27.025186485 -0600 | ||
3 | @@ -165,7 +165,8 @@ | ||
4 | */ | ||
5 | #ifdef LONG64 | ||
6 | SDL_X11_MODULE(IO_32BIT) | ||
7 | -SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) | ||
8 | + | ||
9 | +SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) | ||
10 | SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) | ||
11 | #endif | ||
12 |