summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Reisch <doctomoe@gentoo.org>2002-06-05 19:42:20 +0000
committerOlivier Reisch <doctomoe@gentoo.org>2002-06-05 19:42:20 +0000
commitc797e8855531b904895a9274d5bffcdec94a5dc3 (patch)
tree4f199ab8f2e931b2b9c972c231d38aa3f182c987 /media-libs/libggi
parentadded package (diff)
downloadhistorical-c797e8855531b904895a9274d5bffcdec94a5dc3.tar.gz
historical-c797e8855531b904895a9274d5bffcdec94a5dc3.tar.bz2
historical-c797e8855531b904895a9274d5bffcdec94a5dc3.zip
Added a small patch to the ebuild so libggi compiles fine on Apple PPC
machines. The vendor figured all PPC machines were embedded and adds a compile option for lcd823 (embedded lcd controller) which does not work on most PPC machines. Patch disables the option. Fixes BUG #3426.
Diffstat (limited to 'media-libs/libggi')
-rw-r--r--media-libs/libggi/ChangeLog11
-rw-r--r--media-libs/libggi/files/libggi-2.0.1-ppc.patch11
-rw-r--r--media-libs/libggi/libggi-2.0.1.ebuild10
3 files changed, 30 insertions, 2 deletions
diff --git a/media-libs/libggi/ChangeLog b/media-libs/libggi/ChangeLog
index 2b31e0ceedc0..ebf080aee02a 100644
--- a/media-libs/libggi/ChangeLog
+++ b/media-libs/libggi/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-libs/libggi
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libggi/ChangeLog,v 1.2 2002/04/14 18:44:21 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libggi/ChangeLog,v 1.3 2002/06/05 19:42:20 doctomoe Exp $
+
+*libggi-2.0.1 (05 Jun 2002)
+
+ 05 Jun 2002; Olivier Reisch <doctomoe@gentoo.org> libggi-2.0.1.ebuild
+
+ Added a small patch to the ebuild so libggi compiles fine on Apple PPC
+ machines. The vendor figured all PPC machines were embedded and adds a
+ compile option for lcd823 (embedded lcd controller) which does not work on
+ most PPC machines. Patch disables the option. Fixes BUG #3426.
*libggi-2.0.1 (14 Apr 2002)
diff --git a/media-libs/libggi/files/libggi-2.0.1-ppc.patch b/media-libs/libggi/files/libggi-2.0.1-ppc.patch
new file mode 100644
index 000000000000..1a9dd6559c50
--- /dev/null
+++ b/media-libs/libggi/files/libggi-2.0.1-ppc.patch
@@ -0,0 +1,11 @@
+diff -uNr libggi-2.0.1/configure libggi-2.0.1.n/configure
+--- libggi-2.0.1/configure Sun Aug 26 17:59:48 2001
++++ libggi-2.0.1.n/configure Wed Jun 5 20:09:20 2002
+@@ -8399,6 +8399,7 @@
+
+ case "$host" in
+ powerpc-*-linux*)
++ build_lcd823_target="no"
+ ;;
+ *)
+ build_lcd823_target="no"
diff --git a/media-libs/libggi/libggi-2.0.1.ebuild b/media-libs/libggi/libggi-2.0.1.ebuild
index 0d469f3a1663..830b936e5f99 100644
--- a/media-libs/libggi/libggi-2.0.1.ebuild
+++ b/media-libs/libggi/libggi-2.0.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libggi/libggi-2.0.1.ebuild,v 1.1 2002/04/14 18:44:21 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libggi/libggi-2.0.1.ebuild,v 1.2 2002/06/05 19:42:20 doctomoe Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Fast and safe graphics and drivers for about any graphics card to the Linux kernel (sometimes)"
@@ -13,6 +13,14 @@ DEPEND=">=media-libs/libgii-0.8.1
svga? ( >=media-libs/svgalib-1.4.2 )
aalib? ( >=media-libs/aalib-1.2-r1 )"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ if [ ${ARCH} = "ppc" ]
+ then patch -p1 < ${FILESDIR}/libggi-${PV}-ppc.patch || die
+ fi
+}
+
src_compile() {
local myconf