--- aptitude-0.2.15.8/src/generic/strhash.h.orig 2004-08-18 17:48:29 +0400 +++ aptitude-0.2.15.8/src/generic/strhash.h 2005-01-20 16:21:53 +0300 @@ -28,7 +28,8 @@ #if defined(HAVE_HASH_MAP) || defined(HAVE_EXT_HASH_MAP) namespace HASH_NAMESPACE { + template<> struct hash { inline size_t operator()(const std::string &s) const {