wok-current diff libsdl/stuff/sdl-1.2.15-const_XData32.patch @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (9 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libsdl/stuff/sdl-1.2.15-const_XData32.patch Thu Dec 05 08:39:45 2024 +0000 1.3 @@ -0,0 +1,15 @@ 1.4 +libX11-1.5.99.901 has changed prototype of _XData32 1.5 + 1.6 +<http://bugzilla.libsdl.org/show_bug.cgi?id=1769> 1.7 + 1.8 +diff -r b6b2829cd7ef src/video/x11/SDL_x11sym.h 1.9 +--- a/src/video/x11/SDL_x11sym.h Wed Feb 27 15:20:31 2013 -0800 1.10 ++++ b/src/video/x11/SDL_x11sym.h Wed Mar 27 16:07:23 2013 +0100 1.11 +@@ -165,7 +165,7 @@ 1.12 + */ 1.13 + #ifdef LONG64 1.14 + SDL_X11_MODULE(IO_32BIT) 1.15 +-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return) 1.16 ++SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return) 1.17 + SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) 1.18 + #endif