summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-proxy/polipo/files/polipo-1.0.0-gentoo.patch')
-rw-r--r--net-proxy/polipo/files/polipo-1.0.0-gentoo.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-proxy/polipo/files/polipo-1.0.0-gentoo.patch b/net-proxy/polipo/files/polipo-1.0.0-gentoo.patch
new file mode 100644
index 000000000000..ddb68a70e9bb
--- /dev/null
+++ b/net-proxy/polipo/files/polipo-1.0.0-gentoo.patch
@@ -0,0 +1,28 @@
+diff -Nru polipo-1.0.0.orig/Makefile polipo-1.0.0/Makefile
+--- polipo-1.0.0.orig/Makefile 2007-03-06 21:29:05.000000000 +0200
++++ polipo-1.0.0/Makefile 2007-06-17 09:43:17.000000000 +0300
+@@ -97,11 +97,6 @@
+ cp -f localindex.html $(TARGET)$(LOCAL_ROOT)/index.html
+
+ install.man: all
+- mkdir -p $(TARGET)$(MANDIR)/man1
+- mkdir -p $(TARGET)$(INFODIR)
+- cp -f polipo.man $(TARGET)$(MANDIR)/man1/polipo.1
+- cp polipo.info $(TARGET)$(INFODIR)/
+- install-info --info-dir=$(INFODIR) polipo.info
+
+
+ polipo.info: polipo.texi
+diff -Nru polipo-1.0.0.orig/polipo.h polipo-1.0.0/polipo.h
+--- polipo-1.0.0.orig/polipo.h 2007-03-06 21:29:05.000000000 +0200
++++ polipo-1.0.0/polipo.h 2007-06-17 09:43:17.000000000 +0300
+@@ -65,7 +65,9 @@
+ #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
+ /* nothing */
+ #elif defined(__GNUC__)
++#ifndef inline
+ #define inline __inline
++#endif
+ #if (__GNUC__ >= 3)
+ #define restrict __restrict
+ #else