3rdparty: build SDL for unix systems (incl macOS)

travis-ci: enable build 3rdparty for MacOS
add patch for comiling SDL-1.2.15 under macOS
This commit is contained in:
Thomas Bernard
2019-01-22 16:46:16 +01:00
parent e5221ba8d6
commit 335db46911
4 changed files with 65 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
--- src/video/x11/SDL_x11sym.h.orig 2013-06-05 11:06:34.000000000 +0200
+++ src/video/x11/SDL_x11sym.h 2013-06-05 11:08:02.000000000 +0200
@@ -165,7 +165,7 @@
*/
#ifdef LONG64
SDL_X11_MODULE(IO_32BIT)
-SDL_X11_SYM(int,_XData32,(Display *dpy,register long *data,unsigned len),(dpy,data,len),return)
+SDL_X11_SYM(int,_XData32,(Display *dpy,register _Xconst long *data,unsigned len),(dpy,data,len),return)
SDL_X11_SYM(void,_XRead32,(Display *dpy,register long *data,long len),(dpy,data,len),)
#endif