summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/optipng/ChangeLog5
-rw-r--r--media-gfx/optipng/optipng-0.5.5.ebuild6
2 files changed, 7 insertions, 4 deletions
diff --git a/media-gfx/optipng/ChangeLog b/media-gfx/optipng/ChangeLog
index bdba16471a74..e46d32fc39da 100644
--- a/media-gfx/optipng/ChangeLog
+++ b/media-gfx/optipng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/optipng
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.35 2008/02/13 08:31:50 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.36 2008/02/13 13:10:24 nyhm Exp $
+
+ 13 Feb 2008; Tristan Heaven <nyhm@gentoo.org> optipng-0.5.5.ebuild:
+ Fix possible sed problem, bug #209990
13 Feb 2008; Christian Faulhammer <opfer@gentoo.org> optipng-0.5.5.ebuild:
stable x86, bug 209941
diff --git a/media-gfx/optipng/optipng-0.5.5.ebuild b/media-gfx/optipng/optipng-0.5.5.ebuild
index 77efc6c88e21..8d4f3d0410f6 100644
--- a/media-gfx/optipng/optipng-0.5.5.ebuild
+++ b/media-gfx/optipng/optipng-0.5.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.5.5.ebuild,v 1.3 2008/02/13 08:31:50 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.5.5.ebuild,v 1.4 2008/02/13 13:10:24 nyhm Exp $
DESCRIPTION="Compress PNG files without affecting image quality"
HOMEPAGE="http://optipng.sourceforge.net/"
@@ -15,8 +15,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
sed -i \
- -e "s:-O2:${CFLAGS}:" \
- -e "s:-s:${LDFLAGS}:" \
+ -e "/^C/s: -O2.*: ${CFLAGS} -Wall:" \
+ -e "/^LD/s: -s$: ${LDFLAGS}:" \
src/scripts/gcc.mak \
lib/libpng/scripts/makefile.gcc \
lib/pngxtern/scripts/gcc.mak \