svn commit: r477142 - in head/mail/spamprobe: . files
Tobias Kortkamp
tobik at FreeBSD.org
Tue Aug 14 08:56:59 UTC 2018
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;
+ }
More information about the svn-ports-head
mailing list