Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2015 00:20:39 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r380808 - in head/databases/tora: . files
Message-ID:  <201503090020.t290KdIH044334@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mi
Date: Mon Mar  9 00:20:39 2015
New Revision: 380808
URL: https://svnweb.freebsd.org/changeset/ports/380808
QAT: https://qat.redports.org/buildarchive/r380808/

Log:
  Unbreak by adding a "const-poisoning" patch.

Added:
  head/databases/tora/files/patch-src_toextract.h   (contents, props changed)
Modified:
  head/databases/tora/Makefile

Modified: head/databases/tora/Makefile
==============================================================================
--- head/databases/tora/Makefile	Mon Mar  9 00:01:44 2015	(r380807)
+++ head/databases/tora/Makefile	Mon Mar  9 00:20:39 2015	(r380808)
@@ -33,10 +33,6 @@ PREFIX2FIX=	doc/help/preferences.texi do
 
 .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

Added: head/databases/tora/files/patch-src_toextract.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/tora/files/patch-src_toextract.h	Mon Mar  9 00:20:39 2015	(r380808)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503090020.t290KdIH044334>