summaryrefslogtreecommitdiff
path: root/mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch')
-rw-r--r--mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch b/mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch
new file mode 100644
index 000000000000..1eec9cc6ee02
--- /dev/null
+++ b/mail-filter/spamprobe/files/spamprobe-1.4d-gcc11-const-comp.patch
@@ -0,0 +1,13 @@
+diff --git a/src/includes/LRUCache.h b/src/includes/LRUCache.h
+index cf7df30..50467d5 100644
+--- a/src/includes/LRUCache.h
++++ b/src/includes/LRUCache.h
+@@ -60,7 +60,7 @@ public:
+ {
+ public:
+ bool operator()(const NodeType *a,
+- const NodeType *b)
++ const NodeType *b) const
+ {
+ return a->key < b->key;
+ }