summarylogtreecommitdiffstats
path: root/spamprobe-lrucache.patch
diff options
context:
space:
mode:
authorGeert Hendrickx2021-06-26 18:33:24 +0200
committerGeert Hendrickx2021-06-26 18:33:24 +0200
commit6e0a424f9b82b4791414edb1243c4e0b3422ec48 (patch)
treec1daa1ed8a9a2103d74e314c3a926ab687d095ae /spamprobe-lrucache.patch
parent804cfdb42339cc68cbac9d1df8085dd74c1ab9b3 (diff)
downloadaur-6e0a424f9b82b4791414edb1243c4e0b3422ec48.tar.gz
Build fix (taken from NetBSD pkgsrc).
Diffstat (limited to 'spamprobe-lrucache.patch')
-rw-r--r--spamprobe-lrucache.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/spamprobe-lrucache.patch b/spamprobe-lrucache.patch
new file mode 100644
index 00000000000..2b489bd9d60
--- /dev/null
+++ b/spamprobe-lrucache.patch
@@ -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;
+ }