FreeBSD Bugzilla – Attachment 145757 Details for
Bug 192119
squid33 fails to compile if cppunit is installed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix compilation of squid33 when cppunit is also installed
x1.txt (text/plain), 753 bytes, created by
Martin Birgmeier
on 2014-08-13 16:21:47 UTC
(
hide
)
Description:
patch to fix compilation of squid33 when cppunit is also installed
Filename:
MIME Type:
Creator:
Martin Birgmeier
Created:
2014-08-13 16:21:47 UTC
Size:
753 bytes
patch
obsolete
>--- 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 */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 192119
:
144981
| 145757