From 3af1392358aa181d48c4d9676daac4e2206c49bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20M=C3=BCller?= Date: Sun, 10 Mar 2013 22:43:48 +0100 Subject: [PATCH] SDL_x11sym.h: add symbols for _XGetRequest While intoducing to yocto few libraries complain: | /home/tmp/oe-core-eglibc/sysroots/overo/usr/lib/libSDL.so: undefined reference to `_XGetRequest' This is a backport from libsdl-1.2.15. Signed-off-by: Andreas M?ller --- src/video/x11/SDL_x11sym.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/video/x11/SDL_x11sym.h b/src/video/x11/SDL_x11sym.h index 3dfa146..f1e7841 100644 --- a/src/video/x11/SDL_x11sym.h +++ b/src/video/x11/SDL_x11sym.h @@ -169,6 +169,12 @@ SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,da SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),) #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. */ -- 2.39.5