summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-12-15 12:16:46 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-12-15 12:16:46 +0000
commit41365d77eb826df0641f3d55ae231579cbf3df2a (patch)
tree3990649159ea60976dd404dbeca8a47d46449112 /media-video/xawtv
parentsource and homepage moved (diff)
downloadgentoo-2-41365d77eb826df0641f3d55ae231579cbf3df2a.tar.gz
gentoo-2-41365d77eb826df0641f3d55ae231579cbf3df2a.tar.bz2
gentoo-2-41365d77eb826df0641f3d55ae231579cbf3df2a.zip
non-mmx fix
Diffstat (limited to 'media-video/xawtv')
-rw-r--r--media-video/xawtv/ChangeLog8
-rw-r--r--media-video/xawtv/xawtv-3.80.ebuild7
-rw-r--r--media-video/xawtv/xawtv-3.81.ebuild6
3 files changed, 18 insertions, 3 deletions
diff --git a/media-video/xawtv/ChangeLog b/media-video/xawtv/ChangeLog
index 6bab5b034d5a..1a2641a722f3 100644
--- a/media-video/xawtv/ChangeLog
+++ b/media-video/xawtv/ChangeLog
@@ -1,9 +1,15 @@
# ChangeLog for media-video/xawtv
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/ChangeLog,v 1.11 2002/12/13 01:00:00 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/ChangeLog,v 1.12 2002/12/15 12:16:46 seemant Exp $
*xawtv-3.81 (12 Dec 2002)
+ 15 Dec 2002; Seemant Kulleen <seemant@gentoo.org> xawtv-3.80.ebuild
+ xawtv-3.81.ebuild :
+
+ Sed out #define MMX for non-MMX enabled architectures (USE based). Thanks
+ to rajiv@gentoo.org (Rajiv Manglani) in bug #12179.
+
12 Dec 2002; Seemant Kulleen <seemant@gentoo.org> xawtv-3.81.ebuild
files/digest-xawtv-3.81 :
diff --git a/media-video/xawtv/xawtv-3.80.ebuild b/media-video/xawtv/xawtv-3.80.ebuild
index 75dc94989a84..5c0ca8c1ddde 100644
--- a/media-video/xawtv/xawtv-3.80.ebuild
+++ b/media-video/xawtv/xawtv-3.80.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.80.ebuild,v 1.1 2002/12/13 05:23:21 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.80.ebuild,v 1.2 2002/12/15 12:16:46 seemant Exp $
IUSE="aalib motif alsa opengl nls"
@@ -21,6 +21,7 @@ DEPEND=">=sys-libs/ncurses-5.1
>=media-libs/libpng-1.0.8
media-libs/zvbi
virtual/x11
+ sys-apps/supersed
alsa? ( media-libs/alsa-lib )
aalib? ( media-libs/aalib )
motif? ( x11-libs/openmotif )
@@ -32,6 +33,10 @@ src_unpack() {
cd ${S}
patch -p1 < ${DISTDIR}/xaw-deinterlace-3.76-0.1.0.diff || die
+ # For non-MMX arches, we need to comment out a section of the code
+ use mmx || \
+ ssed -i "s:#define MMX::" libng/plugins/linear_blend.c
+
unpack ${MY_FONT}.tar.bz2
cd ${S}/${MY_FONT}
patch -p0 < ${FILESDIR}/${MY_FONT}-gentoo.diff || die
diff --git a/media-video/xawtv/xawtv-3.81.ebuild b/media-video/xawtv/xawtv-3.81.ebuild
index 82c6f12ad223..515dd0e43379 100644
--- a/media-video/xawtv/xawtv-3.81.ebuild
+++ b/media-video/xawtv/xawtv-3.81.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.81.ebuild,v 1.1 2002/12/13 01:00:00 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/xawtv/xawtv-3.81.ebuild,v 1.2 2002/12/15 12:16:46 seemant Exp $
IUSE="aalib motif alsa opengl nls"
@@ -21,6 +21,7 @@ DEPEND=">=sys-libs/ncurses-5.1
>=media-libs/libpng-1.0.8
media-libs/zvbi
virtual/x11
+ sys-apps/supersed
alsa? ( media-libs/alsa-lib )
aalib? ( media-libs/aalib )
motif? ( x11-libs/openmotif )
@@ -32,6 +33,9 @@ src_unpack() {
cd ${S}
patch -p1 < ${DISTDIR}/xaw-deinterlace-3.76-0.1.0.diff || die
+ use mmx || \
+ ssed -i "s:#define MMX::" libng/plugins/linear_blend.c
+
unpack ${MY_FONT}.tar.bz2
cd ${S}/${MY_FONT}
patch -p0 < ${FILESDIR}/${MY_FONT}-gentoo.diff || die