summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-04-11 13:18:55 +0000
committerAlin Năstac <mrness@gentoo.org>2007-04-11 13:18:55 +0000
commit9444f10c7ff57bde42217109ec0d91b98a06b312 (patch)
tree32894ec0419ada7dfbc1970046d628ada78a1495 /net-proxy
parentStable on amd64 wrt bug 173524 (diff)
downloadgentoo-2-9444f10c7ff57bde42217109ec0d91b98a06b312.tar.gz
gentoo-2-9444f10c7ff57bde42217109ec0d91b98a06b312.tar.bz2
gentoo-2-9444f10c7ff57bde42217109ec0d91b98a06b312.zip
Fix QA issue.
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/privoxy/ChangeLog6
-rw-r--r--net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch11
-rw-r--r--net-proxy/privoxy/privoxy-3.0.6.ebuild4
3 files changed, 19 insertions, 2 deletions
diff --git a/net-proxy/privoxy/ChangeLog b/net-proxy/privoxy/ChangeLog
index 5ac7721d36f4..cae852b286be 100644
--- a/net-proxy/privoxy/ChangeLog
+++ b/net-proxy/privoxy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-proxy/privoxy
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.19 2007/03/13 13:35:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/ChangeLog,v 1.20 2007/04/11 13:18:55 mrness Exp $
+
+ 11 Apr 2007; Alin Năstac <mrness@gentoo.org>
+ +files/privoxy-3.0.6-implicit-decl.patch, privoxy-3.0.6.ebuild:
+ Fix QA issue.
13 Mar 2007; Raúl Porcel <armin76@gentoo.org> privoxy-3.0.6.ebuild:
x86 stable
diff --git a/net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch b/net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch
new file mode 100644
index 000000000000..4c2029729956
--- /dev/null
+++ b/net-proxy/privoxy/files/privoxy-3.0.6-implicit-decl.patch
@@ -0,0 +1,11 @@
+diff -Nru privoxy-3.0.6-stable.orig/parsers.c privoxy-3.0.6-stable/parsers.c
+--- privoxy-3.0.6-stable.orig/parsers.c 2006-11-13 21:05:51.000000000 +0200
++++ privoxy-3.0.6-stable/parsers.c 2007-04-11 16:07:33.000000000 +0300
+@@ -541,6 +541,7 @@
+ #include <ctype.h>
+ #include <assert.h>
+ #include <string.h>
++#define __USE_XOPEN
+ #include <time.h>
+
+ #if !defined(_WIN32) && !defined(__OS2__)
diff --git a/net-proxy/privoxy/privoxy-3.0.6.ebuild b/net-proxy/privoxy/privoxy-3.0.6.ebuild
index 6df93b05ee8b..7374b68742f3 100644
--- a/net-proxy/privoxy/privoxy-3.0.6.ebuild
+++ b/net-proxy/privoxy/privoxy-3.0.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.6.ebuild,v 1.4 2007/03/13 13:35:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-proxy/privoxy/privoxy-3.0.6.ebuild,v 1.5 2007/04/11 13:18:55 mrness Exp $
WANT_AUTOMAKE="latest"
WANT_AUTOCONF="latest"
@@ -31,6 +31,8 @@ pkg_setup() {
src_unpack() {
unpack ${A}
+ epatch "${FILESDIR}"/${P}-implicit-decl.patch
+
cd "${S}"
sed -e 's:confdir .:confdir /etc/privoxy:' \
-e 's:logdir .:logdir /var/log/privoxy:' \