diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-07-12 12:28:02 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-07-12 12:28:02 +0200 |
commit | c1064830dab447f98f712cb09f408acb6f077d3d (patch) | |
tree | 5bf7feb403bf378e488f74ddfe2b53edd730d362 /package/sdl/patches/patch-src_video_x11_SDL_x11sym_h | |
parent | bedf2b3516bc6febeaa744b8b473d6b4581e28fa (diff) |
fix sdl compile
Diffstat (limited to 'package/sdl/patches/patch-src_video_x11_SDL_x11sym_h')
-rw-r--r-- | package/sdl/patches/patch-src_video_x11_SDL_x11sym_h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/sdl/patches/patch-src_video_x11_SDL_x11sym_h b/package/sdl/patches/patch-src_video_x11_SDL_x11sym_h new file mode 100644 index 000000000..45f3de058 --- /dev/null +++ b/package/sdl/patches/patch-src_video_x11_SDL_x11sym_h @@ -0,0 +1,15 @@ +--- SDL-1.2.14.orig/src/video/x11/SDL_x11sym.h 2009-10-13 01:07:15.000000000 +0200 ++++ SDL-1.2.14/src/video/x11/SDL_x11sym.h 2013-07-12 12:16:08.000000000 +0200 +@@ -170,6 +170,12 @@ SDL_X11_SYM(void,_XRead32,(Display *dpy, + #endif + + /* ++ * libX11 1.4.99.1 added _XGetRequest, and macros use it behind the scenes. ++ */ ++SDL_X11_MODULE(XGETREQUEST) ++SDL_X11_SYM(void *,_XGetRequest,(Display* a,CARD8 b,size_t c),(a,b,c),return) ++ ++/* + * These only show up on some variants of Unix. + */ + #if defined(__osf__) |