ports/www/squid33/files/patch-compat_compat.h
John Marino 4daeca007b 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
2014-08-17 12:47:41 +00:00

18 lines
498 B
C

--- 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 */