summaryrefslogtreecommitdiff
path: root/databases/libpbl/files/patch-pbl.h
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-05-23 16:21:51 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-05-23 16:21:51 +0000
commitc48304befe06a50bda77878fc72ebfefe6c21a00 (patch)
tree52b1bea8f5606021e56fe776bee28e6d3c44f76f /databases/libpbl/files/patch-pbl.h
parent- Update to 1.5 (diff)
Fix and update databases/libpbl to unbreak mail/spamprobe.
Notes
Notes: svn path=/head/; revision=274523
Diffstat (limited to 'databases/libpbl/files/patch-pbl.h')
-rw-r--r--databases/libpbl/files/patch-pbl.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/libpbl/files/patch-pbl.h b/databases/libpbl/files/patch-pbl.h
new file mode 100644
index 000000000000..c0db35186869
--- /dev/null
+++ b/databases/libpbl/files/patch-pbl.h
@@ -0,0 +1,26 @@
+--- pbl.h.orig 2011-05-23 18:11:38.000000000 +0200
++++ pbl.h 2011-05-23 18:16:48.000000000 +0200
+@@ -643,7 +643,11 @@
+ /**
+ * The heap.
+ */
++#ifdef __cplusplus
++typedef PblList PblHeap;
++#else
+ typedef struct PblList PblHeap;
++#endif
+
+ /**
+ * The priority queue entry struct.
+@@ -663,7 +667,11 @@
+ /**
+ * The priority queue.
+ */
++#ifdef __cplusplus
++typedef PblList PblPriorityQueue;
++#else
+ typedef struct PblList PblPriorityQueue;
++#endif
+
+ /*****************************************************************************/
+ /* variable declarations */