Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=28b2c63093bf94cd05611f5d2f51c06002e585e5
commit 28b2c63093bf94cd05611f5d2f51c06002e585e5
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Mon Sep 22 22:17:29 2008 +0200
xine-lib-1.1.15-2-i686
- add patch to fix build with gcc-4.3. actually it builds without this,
but other apps using this lib won't.
diff --git a/source/xlib/xine-lib/FrugalBuild b/source/xlib/xine-lib/FrugalBuild
index f235955..d782e20 100644
--- a/source/xlib/xine-lib/FrugalBuild
+++ b/source/xlib/xine-lib/FrugalBuild
@@ -4,7 +4,7 @@
pkgname=xine-lib
pkgver=1.1.15
-pkgrel=1
+pkgrel=2
pkgdesc="Xine multimedia playback engine libraries"
_F_sourceforge_dirname="xine"
_F_sourceforge_ext=".tar.bz2"
@@ -19,7 +19,9 @@ options=('scriptlet')
makedepends=('arts' 'esd' 'sdl' 'jack')
groups=('xlib')
archs=('i686' 'x86_64' 'ppc')
-sha1sums=('bcb567ea2a11c5f26b2384d5400b8466ea9048c6')
+source=($source xine-lib-1.1.15-buffer_h_ansi.patch)
+sha1sums=('bcb567ea2a11c5f26b2384d5400b8466ea9048c6' \
+ 'f96f76c22267d3a814caf6db080f81df5070bd5d')
build()
{
diff --git a/source/xlib/xine-lib/xine-lib-1.1.15-buffer_h_ansi.patch
b/source/xlib/xine-lib/xine-lib-1.1.15-buffer_h_ansi.patch
new file mode 100644
index 0000000..e3e411f
--- /dev/null
+++ b/source/xlib/xine-lib/xine-lib-1.1.15-buffer_h_ansi.patch
@@ -0,0 +1,13 @@
+Index: xine-lib-1.1.15/src/xine-engine/buffer.h
+===================================================================
+--- xine-lib-1.1.15.orig/src/xine-engine/buffer.h
++++ xine-lib-1.1.15/src/xine-engine/buffer.h
+@@ -676,7 +676,7 @@ void _x_bmiheader_le2me( xine_bmiheader
+ /* convert xine_waveformatex struct from little endian */
+ void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED;
+
+-static inline _x_is_fourcc(void *ptr, void *tag) {
++static __inline int _x_is_fourcc(void *ptr, void *tag) {
+ return memcmp(ptr, tag, 4) == 0;
+ }
+
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git