diff options
| author | John Marino <marino@FreeBSD.org> | 2014-08-17 12:47:41 +0000 |
|---|---|---|
| committer | John Marino <marino@FreeBSD.org> | 2014-08-17 12:47:41 +0000 |
| commit | 4daeca007b7d641be528b6f1df740b42356284f8 (patch) | |
| tree | 91eef55f0cff785cab1c4788ff0692fcddf9e524 /www/squid33/files/patch-compat_compat.h | |
| parent | Add USES=libtool (diff) | |
Stage www/squid33
This port needed a *lot* of love, and it needs a lot more. It has a
ton of options (Do we need so many options rather than enabled by
default?) and I suspect many options aren't staged properly. Also the
way the plist is put together is crazy. This needs a proper static
pkg-plist with PLIST_SUB switches. This port badly needs a full-time
maintainer. (www/squid32 and www/squid are just as bad)
I also added patch from PR 192119 while I was here.
PR: 189903
Submitted by: joe (thralling.com)
Lotsa TLC: marino
Diffstat (limited to 'www/squid33/files/patch-compat_compat.h')
| -rw-r--r-- | www/squid33/files/patch-compat_compat.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/squid33/files/patch-compat_compat.h b/www/squid33/files/patch-compat_compat.h new file mode 100644 index 000000000000..ce06bb1a401e --- /dev/null +++ b/www/squid33/files/patch-compat_compat.h @@ -0,0 +1,18 @@ +--- compat/compat.h.orig 2013-11-30 13:55:13 UTC ++++ compat/compat.h +@@ -104,10 +104,12 @@ + */ + #include "compat/GnuRegex.h" + +-/* some functions are unsafe to be used in Squid. */ +-#include "compat/unsafe.h" +- + /* cppunit is not quite C++0x compatible yet */ + #include "compat/cppunit.h" + ++/* some functions are unsafe to be used in Squid. */ ++/* XXX MBi do this only after including cppunit.h as that itself also ++ uses printf() */ ++#include "compat/unsafe.h" ++ + #endif /* _SQUID_COMPAT_H */ |
