summaryrefslogtreecommitdiff
path: root/www/squid3/patches/patch-src_ip_Intercept.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/squid3/patches/patch-src_ip_Intercept.cc')
-rw-r--r--www/squid3/patches/patch-src_ip_Intercept.cc28
1 files changed, 0 insertions, 28 deletions
diff --git a/www/squid3/patches/patch-src_ip_Intercept.cc b/www/squid3/patches/patch-src_ip_Intercept.cc
index 8439ab8ab4f..e69de29bb2d 100644
--- a/www/squid3/patches/patch-src_ip_Intercept.cc
+++ b/www/squid3/patches/patch-src_ip_Intercept.cc
@@ -1,28 +0,0 @@
-$NetBSD: patch-src_ip_Intercept.cc,v 1.2 2013/04/27 17:51:24 tron Exp $
-
-Avoid conflict with IP Fitler's debug().
-
---- src/ip/Intercept.cc.orig 2013-04-27 04:34:48.000000000 +0100
-+++ src/ip/Intercept.cc 2013-04-27 18:40:24.000000000 +0100
-@@ -38,6 +38,10 @@
-
- #if IPF_TRANSPARENT
-
-+#ifdef debug
-+#undef debug // XXX: IP Filter might declare debug().
-+#endif
-+
- #if HAVE_SYS_IOCTL_H
- #include <sys/ioctl.h>
- #endif
-@@ -75,6 +79,10 @@
- #include <errno.h>
- #endif
-
-+// Stolen from src/defines.h
-+#define debug(SECTION, LEVEL) \
-+ do_debug(SECTION, LEVEL) ? (void) 0 : _db_print
-+
- #endif /* IPF_TRANSPARENT required headers */
-
- #if PF_TRANSPARENT