summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2008-02-13 13:10:24 +0000
committerTristan Heaven <nyhm@gentoo.org>2008-02-13 13:10:24 +0000
commit4d6e1ea56f67fef3135f09c2e7c1ee473714a8a0 (patch)
treee7f6189235c45d6b5c46f57576cb7ed5622ef15a /media-gfx/optipng
parentVersion bump. Cleaned a bit postinstall. Security fixes for bug 209918. Thank... (diff)
downloadgentoo-2-4d6e1ea56f67fef3135f09c2e7c1ee473714a8a0.tar.gz
gentoo-2-4d6e1ea56f67fef3135f09c2e7c1ee473714a8a0.tar.bz2
gentoo-2-4d6e1ea56f67fef3135f09c2e7c1ee473714a8a0.zip
Fix possible sed problem, bug #209990
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx/optipng')
-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 \