summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Boeck <hanno@gentoo.org>2008-10-16 00:28:37 +0000
committerHanno Boeck <hanno@gentoo.org>2008-10-16 00:28:37 +0000
commit5cef6373a1cd37ea41ec9f725c1ef0202df258f3 (patch)
treead4b9759bce62de02d2050250e5f09ac68e2fe48 /media-gfx/pngnq
parentVersion bump (diff)
downloadhistorical-5cef6373a1cd37ea41ec9f725c1ef0202df258f3.tar.gz
historical-5cef6373a1cd37ea41ec9f725c1ef0202df258f3.tar.bz2
historical-5cef6373a1cd37ea41ec9f725c1ef0202df258f3.zip
pngnq respect cflags and ldflags
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27-rc9-00169-gb34c873 x86_64
Diffstat (limited to 'media-gfx/pngnq')
-rw-r--r--media-gfx/pngnq/ChangeLog6
-rw-r--r--media-gfx/pngnq/Manifest11
-rw-r--r--media-gfx/pngnq/files/pngnq-0.5-cflags.diff14
-rw-r--r--media-gfx/pngnq/pngnq-0.5.ebuild3
4 files changed, 27 insertions, 7 deletions
diff --git a/media-gfx/pngnq/ChangeLog b/media-gfx/pngnq/ChangeLog
index 67d0bd95cb62..eb28ef9c5a95 100644
--- a/media-gfx/pngnq/ChangeLog
+++ b/media-gfx/pngnq/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/pngnq
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngnq/ChangeLog,v 1.2 2008/08/29 22:10:42 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngnq/ChangeLog,v 1.3 2008/10/16 00:28:37 hanno Exp $
+
+ 16 Oct 2008; Hanno Boeck <hanno@gentoo.org> +files/pngnq-0.5-cflags.diff,
+ pngnq-0.5.ebuild:
+ Respect CFLAGS and LDFLAGS.
29 Aug 2008; Markus Meier <maekke@gentoo.org> pngnq-0.5.ebuild:
amd64/x86 stable, bug #236047
diff --git a/media-gfx/pngnq/Manifest b/media-gfx/pngnq/Manifest
index 5f903d30947b..5d9bacb54321 100644
--- a/media-gfx/pngnq/Manifest
+++ b/media-gfx/pngnq/Manifest
@@ -1,15 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX pngnq-0.5-cflags.diff 585 RMD160 2646d90b06cf77761528d42836b75289f52896e9 SHA1 cec2146b62624a99e1b85faf3abdcd6a6ce3532c SHA256 019c2b2e07be4a4ccfb2cc1835fcb5de769185c5a98bbe32eb04e37085929996
DIST pngnq-0.5-makefile.patch 879 RMD160 891c1ed7f78b9728fc99b8cf308f9643ff7a9676 SHA1 eb09959219ee76a32672642ce90dad42907b2eb5 SHA256 870a11fae638b845031f2e87e6cda9523b9bca183a2df11b115753f8c65a6d38
DIST pngnq-0.5-src.tar.gz 26115 RMD160 7772b56cb3e12f49243a5d0d9248a9d7947a351c SHA1 aa41a0ce7c3baf8f6b2ba8c17b8dc9d0f63b2a43 SHA256 c9f2f4239e07d23064176909cd59ef12d96573599a3fa29bed59fe554b769b92
-EBUILD pngnq-0.5.ebuild 806 RMD160 ea4fef3f4e1ced226287302098ab31d1c937d0fd SHA1 77b02b787d72fa9dfb40c70b2ea35c3da707ccbb SHA256 063c5f0d0657b25bbd8355db3ce030b25ee68b9d90f71a78edf7b4ca851dd152
-MISC ChangeLog 434 RMD160 93fb1d72a151054e956f070a790dd835952d147c SHA1 23eb80c1a402f560f683df6e4085d02258a67454 SHA256 69236c390b045753f8fdb400c5a4d5e2ec5f016937f375e30e1ca557d4eb9fb5
+EBUILD pngnq-0.5.ebuild 844 RMD160 2a4de887d452e2da1d0183a02624a87d90ad1204 SHA1 304c5c318bb55a041fe1b21a0144e5a964e43486 SHA256 a6b781fad73555c983c47fcaf7a676f8902a69da6f1bc5b590a3fe1cf3d35715
+MISC ChangeLog 560 RMD160 56e0f93539956837a9c1494a3a930cac069c11c5 SHA1 c4cf22ca28d563ca267ddc0c54ac9543baac4996 SHA256 eb2fa70108db790422951a00e905149cdbd383945870af611b76cbc43af13d49
MISC metadata.xml 217 RMD160 3b01d5dab901ee93217f72b711954d3cccbb1717 SHA1 e304788b60dd2cf214d360a21d267e8635474d98 SHA256 2f5dfc1eb79d2d9ee02663da6e1449f499c3a37b7f4cc2391e18d7789a314669
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAki4dDMACgkQkKaRLQcq0GKM/ACfQTNN39ZaOLj+otggcNxGlywI
-K9IAnRjVR3dgBHQKfehct0gsFystITmE
-=jdXT
+iEYEARECAAYFAkj2iqMACgkQr2QksT29OyBaGwCfVjlCS2VIrua7nXbMYOxiyu4T
+bzcAn1ReyYipQzUVVoCE/8vEg12BfoAr
+=gWx/
-----END PGP SIGNATURE-----
diff --git a/media-gfx/pngnq/files/pngnq-0.5-cflags.diff b/media-gfx/pngnq/files/pngnq-0.5-cflags.diff
new file mode 100644
index 000000000000..bce8eb4c90ac
--- /dev/null
+++ b/media-gfx/pngnq/files/pngnq-0.5-cflags.diff
@@ -0,0 +1,14 @@
+--- 0.5/Makefile 2008-10-15 20:58:07.000000000 +0200
++++ 0.5-1/Makefile 2008-10-15 20:57:51.000000000 +0200
+@@ -33,9 +33,9 @@
+ PNGINC = ${shell libpng-config --cflags}
+ PNGLIB = ${shell libpng-config --ldflags}
+
+-CFLAGS = -O3 -g -Wall -pedantic -I. -D VERSION=\"$(VERSION)\" $(PNGINC) -funroll-loops -fomit-frame-pointer
++CFLAGS += -O3 -g -Wall -pedantic -I. -D VERSION=\"$(VERSION)\" $(PNGINC) -funroll-loops -fomit-frame-pointer
+
+-LDFLAGS = $(PNGLIB)
++LDFLAGS += $(PNGLIB)
+
+ OBJS = pngnq.o rwpng.o neuquant32.o freegetopt/getopt.o
+ #############################################
diff --git a/media-gfx/pngnq/pngnq-0.5.ebuild b/media-gfx/pngnq/pngnq-0.5.ebuild
index 6852e23091bf..e4bec29f8ca1 100644
--- a/media-gfx/pngnq/pngnq-0.5.ebuild
+++ b/media-gfx/pngnq/pngnq-0.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/pngnq/pngnq-0.5.ebuild,v 1.2 2008/08/29 22:10:42 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngnq/pngnq-0.5.ebuild,v 1.3 2008/10/16 00:28:37 hanno Exp $
inherit eutils
@@ -22,6 +22,7 @@ src_unpack() {
cd "${S}"
epatch "${DISTDIR}/${P}-makefile.patch"
+ epatch "${FILESDIR}/${P}-cflags.diff"
}
src_install() {