Date: Tue, 14 Aug 2018 08:56:58 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477142 - in head/mail/spamprobe: . files Message-ID: <201808140856.w7E8uw5l048667@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Tue Aug 14 08:56:57 2018 New Revision: 477142 URL: https://svnweb.freebsd.org/changeset/ports/477142 Log: mail/spamprobe: Fix build with Clang/libc++ In file included from FrequencyDBImpl_cache.cc:34: In file included from ./FrequencyDBImpl_cache.h:34: In file included from ../../src/includes/LRUCache.h:34: /usr/include/c++/v1/map:476:17: error: no matching function for call to object of type 'const LRUCache<std::__1::basic_string<char>, Ref<FrequencyDBImpl_cache::CacheEntry> >::LRUCacheNodeKeyCompare' {return static_cast<const _Compare&>(*this)(__x.__cc.first, __y);} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Added: head/mail/spamprobe/files/patch-src_includes_LRUCache.h (contents, props changed) Modified: head/mail/spamprobe/Makefile Modified: head/mail/spamprobe/Makefile ============================================================================== --- head/mail/spamprobe/Makefile Tue Aug 14 07:53:09 2018 (r477141) +++ head/mail/spamprobe/Makefile Tue Aug 14 08:56:57 2018 (r477142) @@ -3,7 +3,7 @@ PORTNAME= spamprobe PORTVERSION= 1.4d -PORTREVISION= 18 +PORTREVISION= 19 CATEGORIES= mail MASTER_SITES= SF @@ -12,7 +12,6 @@ COMMENT= Spam detector using Bayesian analysis of word GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-default-8bit -USE_GCC= any PLIST_FILES= bin/spamprobe man/man1/spamprobe.1.gz Added: head/mail/spamprobe/files/patch-src_includes_LRUCache.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/spamprobe/files/patch-src_includes_LRUCache.h Tue Aug 14 08:56:57 2018 (r477142) @@ -0,0 +1,11 @@ +--- src/includes/LRUCache.h.orig 2018-08-14 08:00:27 UTC ++++ src/includes/LRUCache.h +@@ -60,7 +60,7 @@ template<class KeyType, class ValueType> class LRUCach + { + public: + bool operator()(const NodeType *a, +- const NodeType *b) ++ const NodeType *b) const + { + return a->key < b->key; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808140856.w7E8uw5l048667>