diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-05-14 21:29:33 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-05-14 21:29:33 +0000 |
commit | 7cad515fae211c84da1a04c0294fb8a27ac01b06 (patch) | |
tree | e6ba538035476aa92de298f5e3715230b07596c6 | |
parent | Clean up old revisions. (diff) | |
download | gentoo-2-7cad515fae211c84da1a04c0294fb8a27ac01b06.tar.gz gentoo-2-7cad515fae211c84da1a04c0294fb8a27ac01b06.tar.bz2 gentoo-2-7cad515fae211c84da1a04c0294fb8a27ac01b06.zip |
Include implicit declaration fix, bug #268546. Permutate files affected by sed.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r-- | net-libs/libproxy/ChangeLog | 7 | ||||
-rw-r--r-- | net-libs/libproxy/files/libproxy-0.2.3-implicit-declaration.patch | 10 | ||||
-rw-r--r-- | net-libs/libproxy/libproxy-0.2.3.ebuild | 7 |
3 files changed, 21 insertions, 3 deletions
diff --git a/net-libs/libproxy/ChangeLog b/net-libs/libproxy/ChangeLog index 569307c0ea7a..0a35cf30c483 100644 --- a/net-libs/libproxy/ChangeLog +++ b/net-libs/libproxy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-libs/libproxy # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.5 2009/05/13 17:29:21 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/ChangeLog,v 1.6 2009/05/14 21:29:32 eva Exp $ + + 14 May 2009; Gilles Dartiguelongue <eva@gentoo.org> libproxy-0.2.3.ebuild, + +files/libproxy-0.2.3-implicit-declaration.patch: + Include implicit declaration fix, bug #268546. Permutate files affected by + sed. 13 May 2009; Nirbheek Chauhan <nirbheek@gentoo.org> metadata.xml: Add more specific descriptions for gnome, kde, webkit, and xulrunner diff --git a/net-libs/libproxy/files/libproxy-0.2.3-implicit-declaration.patch b/net-libs/libproxy/files/libproxy-0.2.3-implicit-declaration.patch new file mode 100644 index 000000000000..9ef13aa9ecc0 --- /dev/null +++ b/net-libs/libproxy/files/libproxy-0.2.3-implicit-declaration.patch @@ -0,0 +1,10 @@ +--- src/bin/proxy.c ++++ src/bin/proxy.c +@@ -21,6 +21,7 @@ + #include <stdlib.h> + #include <assert.h> + #include <unistd.h> ++#define __USE_BSD /* For strdup() */ + #include <string.h> + + // Import libproxy API diff --git a/net-libs/libproxy/libproxy-0.2.3.ebuild b/net-libs/libproxy/libproxy-0.2.3.ebuild index 57a9f59b5810..e83013ab374b 100644 --- a/net-libs/libproxy/libproxy-0.2.3.ebuild +++ b/net-libs/libproxy/libproxy-0.2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.2.3.ebuild,v 1.4 2009/05/11 10:02:41 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/libproxy/libproxy-0.2.3.ebuild,v 1.5 2009/05/14 21:29:32 eva Exp $ EAPI="2" @@ -44,8 +44,11 @@ src_prepare() { # http://bugs.gentoo.org/show_bug.cgi?id=259178 epatch "${FILESDIR}/${P}-fix-libxul-cflags.patch" + # Fix implicit declaration QA, bug #268546 + epatch "${FILESDIR}/${P}-implicit-declaration.patch" + # Fix test to follow POSIX (for x86-fbsd) - sed -e 's/\(test.*\)==/\1=/g' -i configure configure.ac || die "sed failed" + sed -e 's/\(test.*\)==/\1=/g' -i configure.ac configure || die "sed failed" eautoreconf } |