summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-08 20:44:58 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-08 20:44:58 +0000
commit73351a274813e5d5b2076fc765f28bb67c1527e0 (patch)
treeb0b92ba5f6e080328d4b5451609c46090fc17ac7 /media-video/xine-ui
parentVersion Bump (Manifest recommit) (diff)
downloadgentoo-2-73351a274813e5d5b2076fc765f28bb67c1527e0.tar.gz
gentoo-2-73351a274813e5d5b2076fc765f28bb67c1527e0.tar.bz2
gentoo-2-73351a274813e5d5b2076fc765f28bb67c1527e0.zip
true/false patch #40809
Diffstat (limited to 'media-video/xine-ui')
-rw-r--r--media-video/xine-ui/ChangeLog5
-rw-r--r--media-video/xine-ui/files/true-false.patch16
-rw-r--r--media-video/xine-ui/xine-ui-0.9.21.ebuild4
-rw-r--r--media-video/xine-ui/xine-ui-0.9.22.ebuild3
-rw-r--r--media-video/xine-ui/xine-ui-0.9.23.ebuild3
5 files changed, 26 insertions, 5 deletions
diff --git a/media-video/xine-ui/ChangeLog b/media-video/xine-ui/ChangeLog
index 369858a7b659..59fb6f162942 100644
--- a/media-video/xine-ui/ChangeLog
+++ b/media-video/xine-ui/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/xine-ui
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.43 2004/01/14 18:24:01 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/ChangeLog,v 1.44 2004/02/08 20:44:58 vapier Exp $
+
+ 08 Feb 2004; Mike Frysinger <vapier@gentoo.org> :
+ Add true/false patch #40809 by Sven Wegener.
14 Jan 2004; Martin Holzer <mholzer@gentoo.org> xine-ui-0.9.23.ebuild:
need xine-lib-1_rc3
diff --git a/media-video/xine-ui/files/true-false.patch b/media-video/xine-ui/files/true-false.patch
new file mode 100644
index 000000000000..a1252f0478c5
--- /dev/null
+++ b/media-video/xine-ui/files/true-false.patch
@@ -0,0 +1,16 @@
+--- src/xitk/download.c.orig 2004-02-08 13:00:00.194743343 +0000
++++ src/xitk/download.c 2004-02-08 13:00:32.830012754 +0000
+@@ -36,6 +36,13 @@
+
+ #include "common.h"
+
++#ifndef FALSE
++#define FALSE 0
++#endif
++#ifndef TRUE
++#define TRUE !FALSE
++#endif
++
+ extern gGui_t *gGui;
+
+ #ifdef HAVE_CURL
diff --git a/media-video/xine-ui/xine-ui-0.9.21.ebuild b/media-video/xine-ui/xine-ui-0.9.21.ebuild
index dd725c022921..dfcfbcddd6cd 100644
--- a/media-video/xine-ui/xine-ui-0.9.21.ebuild
+++ b/media-video/xine-ui/xine-ui-0.9.21.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.21.ebuild,v 1.9 2003/10/31 15:48:42 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.21.ebuild,v 1.10 2004/02/08 20:44:58 vapier Exp $
DESCRIPTION="Skinned front end for Xine movie player."
HOMEPAGE="http://xine.sourceforge.net/"
@@ -32,6 +32,7 @@ src_unpack() {
cd ${S}
#patch -p1 < ${FILESDIR}/xine-ui-configure.patch || die "patch failed"
+ epatch ${FILESDIR}/true-false.patch
use directfb || ( \
sed -e "s:dfb::" src/Makefile.in \
@@ -42,7 +43,6 @@ src_unpack() {
sed -e "s:LDFLAGS =:LDFLAGS = -L/lib:" src/xitk/Makefile.in \
> src/xitk/Makefile.in.hacked
mv src/xitk/Makefile.in.hacked src/xitk/Makefile.in
-
}
src_compile() {
diff --git a/media-video/xine-ui/xine-ui-0.9.22.ebuild b/media-video/xine-ui/xine-ui-0.9.22.ebuild
index 05fb0ef9bb52..e8bb14e7a39b 100644
--- a/media-video/xine-ui/xine-ui-0.9.22.ebuild
+++ b/media-video/xine-ui/xine-ui-0.9.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.22.ebuild,v 1.9 2003/11/26 16:07:21 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.22.ebuild,v 1.10 2004/02/08 20:44:58 vapier Exp $
DESCRIPTION="Skinned front end for Xine movie player."
HOMEPAGE="http://xine.sourceforge.net/"
@@ -32,6 +32,7 @@ src_unpack() {
cd ${S}
patch -p1 < ${FILESDIR}/preserve-CFLAGS.diff || die "patch failed"
+ epatch ${FILESDIR}/true-false.patch
use directfb || ( \
sed -i "s:dfb::" src/Makefile.in
diff --git a/media-video/xine-ui/xine-ui-0.9.23.ebuild b/media-video/xine-ui/xine-ui-0.9.23.ebuild
index a503ccad28a1..dc17759cb860 100644
--- a/media-video/xine-ui/xine-ui-0.9.23.ebuild
+++ b/media-video/xine-ui/xine-ui-0.9.23.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.23.ebuild,v 1.4 2004/02/08 20:01:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.9.23.ebuild,v 1.5 2004/02/08 20:44:58 vapier Exp $
inherit eutils
@@ -28,6 +28,7 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/preserve-CFLAGS-${PV}.diff
+ epatch ${FILESDIR}/true-false.patch
use directfb || sed -i "s:dfb::" src/Makefile.in
sed -i "s:LDFLAGS =:LDFLAGS = -L/lib:" src/xitk/Makefile.in
}