Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bmf.git;a=commitdiff;h=087d96278a696c67f3ca42cd90ca3978304885de

commit 087d96278a696c67f3ca42cd90ca3978304885de
Author: crazy <[email protected]>
Date:   Sun Jan 3 04:54:11 2016 +0100

sdl-1.2.15-3-x86_64
* rebuild with tc
* depends() fix
* added patch to fix the build
* ( wrong group here )
* disable esd ( who uses that anyway ? )
* and btw there is sdl2 out

diff --git a/source/xlib/sdl/FrugalBuild b/source/xlib/sdl/FrugalBuild
index f1769dc..0eb3b8c 100644
--- a/source/xlib/sdl/FrugalBuild
+++ b/source/xlib/sdl/FrugalBuild
@@ -4,15 +4,16 @@
pkgname=sdl
_F_archive_name=SDL
pkgver=1.2.15
-pkgrel=2
+pkgrel=3
pkgdesc="Simple DirectMedia Layer library"
url="http://www.libsdl.org";
-depends=('glibc')
-makedepends=('libxext>=1.0.5-3' 'libstdc++' 'esd' 'alsa-lib' 'aalib' 'mesa' 
'libgl' 'libglu')
+depends=('glibc>=2.22-7')
+makedepends=('alsa-lib>=1.1.0-2' 'aalib>=1.4rc5-8' 'libglu>=9.0.0-2' 
'x11-protos')
groups=('xlib')
archs=('i686' 'x86_64')
up2date="Flasttar http://www.libsdl.org/release/";
-source=(http://www.libsdl.org/release/$_F_archive_name-$pkgver.tar.gz)
-Fconfopts+=" --disable-nasm --enable-endian --enable-aalib"
-sha1sums=('0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c')
+source=(http://www.libsdl.org/release/$_F_archive_name-$pkgver.tar.gz 
xdata32.patch)
+Fconfopts+=" --disable-nasm --enable-endian --enable-aalib --enable-esd=no"
+sha1sums=('0c5f193ced810b0d7ce3ab06d808cbb5eef03a2c' \
+          'ba63f6fdd95da6b810a4ed3d3324dd4b797ef549')
# optimization OK
diff --git a/source/xlib/sdl/xdata32.patch b/source/xlib/sdl/xdata32.patch
new file mode 100644
index 0000000..72b5de3
--- /dev/null
+++ b/source/xlib/sdl/xdata32.patch
@@ -0,0 +1,15 @@
+libX11-1.5.99.901 has changed prototype of _XData32
+
+<http://bugzilla.libsdl.org/show_bug.cgi?id=1769>
+
+diff -r b6b2829cd7ef src/video/x11/SDL_x11sym.h
+--- a/src/video/x11/SDL_x11sym.h       Wed Feb 27 15:20:31 2013 -0800
++++ b/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
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to