summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2002-12-22 22:12:30 +0000
committerMarinus Schraal <foser@gentoo.org>2002-12-22 22:12:30 +0000
commitd62d052a579838ca1a93ee59fccb07af8926ed45 (patch)
tree2785b009842d5ec7a35eb01eded829921bc67a92 /media-libs/libpng
parentreenabling perl (diff)
downloadhistorical-d62d052a579838ca1a93ee59fccb07af8926ed45.tar.gz
historical-d62d052a579838ca1a93ee59fccb07af8926ed45.tar.bz2
historical-d62d052a579838ca1a93ee59fccb07af8926ed45.zip
bugfix
Diffstat (limited to 'media-libs/libpng')
-rw-r--r--media-libs/libpng/ChangeLog5
-rw-r--r--media-libs/libpng/libpng-1.2.5-r1.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/media-libs/libpng/ChangeLog b/media-libs/libpng/ChangeLog
index 8ad05b124660..9f9a22acd08c 100644
--- a/media-libs/libpng/ChangeLog
+++ b/media-libs/libpng/ChangeLog
@@ -1,9 +1,12 @@
# ChangeLog for media-libs/libpng
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.15 2002/12/22 21:21:37 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/ChangeLog,v 1.16 2002/12/22 22:12:30 foser Exp $
*libpng-1.2.5-r1 (21 Dec 2002)
+ 22 Dec 2002; foser <foser@gentoo.org> libpng-1.2.5-r1.ebuild :
+ Fixed problems with -march=k6 (bug #12561)
+
22 Dec 2002; Martin Holzer <mholzer@gentoo.org> libpng-1.2.5-r1.ebuild files/digest-libpng-1.2.5-r1 Changelog :
Changed SRC_URI to sf and .tar.gz to tar.bz2
diff --git a/media-libs/libpng/libpng-1.2.5-r1.ebuild b/media-libs/libpng/libpng-1.2.5-r1.ebuild
index d3dbad3f4740..61b6afb7926b 100644
--- a/media-libs/libpng/libpng-1.2.5-r1.ebuild
+++ b/media-libs/libpng/libpng-1.2.5-r1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.5-r1.ebuild,v 1.2 2002/12/22 21:21:37 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.2.5-r1.ebuild,v 1.3 2002/12/22 22:12:30 foser Exp $
+
+inherit flag-o-matic
S=${WORKDIR}/${P}
DESCRIPTION="Portable Network Graphics library"
@@ -14,6 +16,8 @@ KEYWORDS="x86 ~ppc ~sparc ~alpha"
DEPEND="sys-libs/zlib"
src_compile() {
+ replace-flags "-march=k6*" "-march=i586"
+
sed -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/lib:" \
-e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \
-e "s/-O3/${CFLAGS}/" \