Bug 2252: Build failure on Mac OSX 10.5
# Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: [EMAIL PROTECTED] # target_branch: file:///src/bzr/squid-repo/trunk/ # testament_sha1: 5051b3d7f938c0af347bcdc527fa72d67ac9095d # timestamp: 2008-03-12 14:15:12 +1300 # message: Bug 2252: Build failure on Mac OSX 10.5 # base_revision_id: [EMAIL PROTECTED] # xvi4dop2su2fuic0 # # Begin patch === modified file 'src/ACLBrowser.cc' --- src/ACLBrowser.cc 2004-12-20 23:30:12 +0000 +++ src/ACLBrowser.cc 2008-03-12 01:10:46 +0000 @@ -41,11 +41,7 @@ /* explicit template instantiation required for some systems */ -template class ACLStrategised<char const *> - -; template class ACLRequestHeaderStrategy<HDR_USER_AGENT> - ; ACL::Prototype ACLBrowser::RegistryProtoype(&ACLBrowser::RegistryEntry_, "browser");
=== modified file 'src/ACLMyPortName.cc' --- src/ACLMyPortName.cc 2008-02-12 05:44:50 +0000 +++ src/ACLMyPortName.cc 2008-03-12 01:10:46 +0000 @@ -41,8 +41,6 @@ /* explicit template instantiation required for some systems */ -template class ACLStrategised<const char *>; - ACL::Prototype ACLMyPortName::RegistryProtoype(&ACLMyPortName::RegistryEntry_, "myportname"); ACLStrategised<const char *> ACLMyPortName::RegistryEntry_(new ACLStringData, ACLMyPortNameStrategy::Instance(), "myportname"); === modified file 'src/ACLStrategised.cc' --- src/ACLStrategised.cc 2008-02-06 11:05:38 +0000 +++ src/ACLStrategised.cc 2008-03-12 01:10:46 +0000 @@ -43,12 +43,13 @@ /* * moved template instantiation into ACLStrategized.cc from - * ACLHTTPRepHeader.cc and ACLHTTPReqHeader.cc to compile on + * ACLHTTPRepHeader.cc, ACLHTTPReqHeader.cc, ACLBrowser.cc, + * and ACLMyPortName.cc to compile on * Mac OSX 10.5 Leopard, this corrects a duplicate symbol error */ /* explicit template instantiation required for some systems */ -template class ACLStrategised<HttpHeader*> +template class ACLStrategised<HttpHeader*>; -; +template class ACLStrategised<char const *>; # Begin bundle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