aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2015-03-09 08:20:39 +0800
committermi <mi@FreeBSD.org>2015-03-09 08:20:39 +0800
commit630c05f9b5949144475192488c098455f580be21 (patch)
tree60c576b8f4824bde37cf47720f637e3aa3fcf2cf /databases
parentac9c86b47a4b86ea9810196f3c99299c299866a4 (diff)
downloadfreebsd-ports-gnome-630c05f9b5949144475192488c098455f580be21.tar.gz
freebsd-ports-gnome-630c05f9b5949144475192488c098455f580be21.tar.zst
freebsd-ports-gnome-630c05f9b5949144475192488c098455f580be21.zip
Unbreak by adding a "const-poisoning" patch.
Diffstat (limited to 'databases')
-rw-r--r--databases/tora/Makefile4
-rw-r--r--databases/tora/files/patch-src_toextract.h16
2 files changed, 16 insertions, 4 deletions
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index 3d2e4a1261fa..45c2fbb0c1e3 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -33,10 +33,6 @@ PREFIX2FIX= doc/help/preferences.texi doc/help/preferences.html
.include <bsd.port.options.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000024
-BROKEN= Does not compile with clang (include <list>)
-.endif
-
.if ${PORT_OPTIONS:MDOCS}
USES+= makeinfo
INFO= tora
diff --git a/databases/tora/files/patch-src_toextract.h b/databases/tora/files/patch-src_toextract.h
new file mode 100644
index 000000000000..1c4d9d6068cc
--- /dev/null
+++ b/databases/tora/files/patch-src_toextract.h
@@ -0,0 +1,16 @@
+--- src/toextract.h 2010-02-02 13:25:43.000000000 -0500
++++ src/toextract.h 2015-03-08 20:14:45.000000000 -0400
+@@ -783,5 +783,5 @@
+ /** Implement sort order based only on Order field.
+ */
+- bool operator <(const columnInfo &inf)
++ bool operator <(const columnInfo &inf) const
+ {
+ return Order < inf.Order;
+@@ -789,5 +789,5 @@
+ /** Implement sort order based only on Order field.
+ */
+- bool operator ==(const columnInfo &inf)
++ bool operator ==(const columnInfo &inf) const
+ {
+ return Order == inf.Order;