diff options
author | Jose V Beneyto <sepen@crux.nu> | 2013-06-21 18:29:01 +0200 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2013-06-21 18:29:01 +0200 |
commit | 2449cb476e3b8ad9dc53b5ce796913b1a626c8d1 (patch) | |
tree | 4ee06be373e5de655eae2f2355e578a6a87c55ca /libsdl | |
parent | 33552e3676b3dbccfa87eeeaa0a7bfbddfe577f3 (diff) | |
download | opt-2449cb476e3b8ad9dc53b5ce796913b1a626c8d1.tar.gz opt-2449cb476e3b8ad9dc53b5ce796913b1a626c8d1.tar.xz |
libsdl: added patch to fix build (FS#933)
Diffstat (limited to 'libsdl')
-rw-r--r-- | libsdl/.md5sum | 1 | ||||
-rw-r--r-- | libsdl/Pkgfile | 7 | ||||
-rw-r--r-- | libsdl/libsdl-1.2.x-libx11.patch | 11 |
3 files changed, 17 insertions, 2 deletions
diff --git a/libsdl/.md5sum b/libsdl/.md5sum index 8857a0799..17dc47c22 100644 --- a/libsdl/.md5sum +++ b/libsdl/.md5sum @@ -1 +1,2 @@ 9d96df8417572a2afb781a7c4c811a85 SDL-1.2.15.tar.gz +ebff7a0aef0b79a0199e394ff9b212ab libsdl-1.2.x-libx11.patch diff --git a/libsdl/Pkgfile b/libsdl/Pkgfile index f7424e065..3e264f932 100644 --- a/libsdl/Pkgfile +++ b/libsdl/Pkgfile @@ -6,12 +6,15 @@ name=libsdl version=1.2.15 -release=1 -source=(http://www.libsdl.org/release/SDL-$version.tar.gz) +release=2 +source=(http://www.libsdl.org/release/SDL-$version.tar.gz \ + $name-1.2.x-libx11.patch) build () { cd SDL-$version + patch -p1 -i $SRC/$name-1.2.x-libx11.patch + ./configure --prefix=/usr \ --enable-alsa \ --mandir=/usr/man diff --git a/libsdl/libsdl-1.2.x-libx11.patch b/libsdl/libsdl-1.2.x-libx11.patch new file mode 100644 index 000000000..2dca32250 --- /dev/null +++ b/libsdl/libsdl-1.2.x-libx11.patch @@ -0,0 +1,11 @@ +--- a/src/video/x11/SDL_x11sym.h Wed Feb 27 15:20:31 2013 -0800 ++++ a/src/video/x11/SDL_x11sym.h Wed Mar 27 16:07:23 2013 +0100 +@@ -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 + |