From: Christos Tsantilas Date: Fri, 22 Oct 2010 09:26:09 +0000 (+0300) Subject: Build failed in Hudson for opensolaris and debian sid X-Git-Tag: take1~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f22c621c99bb44479d46af0701222158548ec1a;p=thirdparty%2Fsquid.git Build failed in Hudson for opensolaris and debian sid Build failed for opensolaris and debian sid with a linker message that the TextException::FileNameHash(char const*) is undefined. This patch trying to resolve the problem --- diff --git a/test-suite/mem_hdr_test.cc b/test-suite/mem_hdr_test.cc index 98b8a7f6f7..0e8e813a31 100644 --- a/test-suite/mem_hdr_test.cc +++ b/test-suite/mem_hdr_test.cc @@ -38,11 +38,18 @@ #include "stmem.h" #include "mem_node.h" #include "Generic.h" +#include "base/TextException.h" #if HAVE_IOSTREAM #include #endif +/*For a reason required on some platforms */ +unsigned int TextException::FileNameHash(const char *fname) +{ + return 0; +} + void testLowAndHigh() {