--- www/squid33/files/XXXpatch-compat-compat.h.ORIG 2014-08-13 18:08:18.067273522 +0200 +++ www/squid33/files/patch-compat-compat.h 2014-08-13 18:11:24.496296954 +0200 @@ -0,0 +1,18 @@ +--- ./compat/compat.h.ORIG 2013-11-30 14:55:13.000000000 +0100 ++++ ./compat/compat.h 2014-08-13 18:05:18.000000000 +0200 +@@ -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 */