[97873] trunk/dports/lang/kelbt

jmr at macports.org jmr at macports.org
Tue Sep 18 06:36:25 PDT 2012


Revision: 97873
          http://trac.macports.org//changeset/97873
Author:   jmr at macports.org
Date:     2012-09-18 06:36:25 -0700 (Tue, 18 Sep 2012)
Log Message:
-----------
kelbt: fix build failure due to invalid C++ (#35277)

Modified Paths:
--------------
    trunk/dports/lang/kelbt/Portfile

Added Paths:
-----------
    trunk/dports/lang/kelbt/files/
    trunk/dports/lang/kelbt/files/invalid_cxx.patch

Modified: trunk/dports/lang/kelbt/Portfile
===================================================================
--- trunk/dports/lang/kelbt/Portfile	2012-09-18 12:33:19 UTC (rev 97872)
+++ trunk/dports/lang/kelbt/Portfile	2012-09-18 13:36:25 UTC (rev 97873)
@@ -24,6 +24,8 @@
 checksums           rmd160  baa8a9d616f2594fe0315c3b059a1286e8ac7ccc \
                     sha256  000ae8e0906f34de13c3448f2422065e48407b6d85c61bbe51490ffdab0bc565
 
+patchfiles          invalid_cxx.patch
+
 variant universal {}
 
 # configure does substitution of CXXFLAGS but Makefile uses CFLAGS for some reason

Added: trunk/dports/lang/kelbt/files/invalid_cxx.patch
===================================================================
--- trunk/dports/lang/kelbt/files/invalid_cxx.patch	                        (rev 0)
+++ trunk/dports/lang/kelbt/files/invalid_cxx.patch	2012-09-18 13:36:25 UTC (rev 97873)
@@ -0,0 +1,70 @@
+--- aapl/avlcommon.h.orig	2008-10-07 10:04:57.000000000 +1100
++++ aapl/avlcommon.h	2012-09-18 23:31:19.000000000 +1000
+@@ -881,9 +881,9 @@ template <AVLMEL_TEMPDEF> Element *AvlTr
+ 		}
+ 
+ #ifdef AVL_BASIC
+-		keyRelation = compare( *element, *curEl );
++		keyRelation = this->compare( *element, *curEl );
+ #else
+-		keyRelation = compare( element->BASEKEY(getKey()), 
++		keyRelation = this->compare( element->BASEKEY(getKey()), 
+ 				curEl->BASEKEY(getKey()) );
+ #endif
+ 
+@@ -969,7 +969,7 @@ template <AVLMEL_TEMPDEF> Element *AvlTr
+ 			return element;
+ 		}
+ 
+-		keyRelation = compare( key, curEl->BASEKEY(getKey()) );
++		keyRelation = this->compare( key, curEl->BASEKEY(getKey()) );
+ 
+ 		/* Do we go left? */
+ 		if ( keyRelation < 0 ) {
+@@ -1023,7 +1023,7 @@ template <AVLMEL_TEMPDEF> Element *AvlTr
+ 			return element;
+ 		}
+ 
+-		keyRelation = compare(key, curEl->getKey());
++		keyRelation = this->compare(key, curEl->getKey());
+ 
+ 		/* Do we go left? */
+ 		if ( keyRelation < 0 ) {
+@@ -1058,7 +1058,7 @@ template <AVLMEL_TEMPDEF> Element *AvlTr
+ 	long keyRelation;
+ 
+ 	while (curEl) {
+-		keyRelation = compare( key, curEl->BASEKEY(getKey()) );
++		keyRelation = this->compare( key, curEl->BASEKEY(getKey()) );
+ 
+ 		/* Do we go left? */
+ 		if ( keyRelation < 0 )
+--- aapl/bstcommon.h.orig	2008-10-07 10:04:57.000000000 +1100
++++ aapl/bstcommon.h	2012-09-18 23:27:12.000000000 +1000
+@@ -419,7 +419,7 @@ template <BST_TEMPL_DEF> Element *BstTab
+ 		}
+ 
+ 		mid = lower + ((upper-lower)>>1);
+-		keyRelation = compare(key, GET_KEY(*mid));
++		keyRelation = this->compare(key, GET_KEY(*mid));
+ 
+ 		if ( keyRelation < 0 )
+ 			upper = mid - 1;
+@@ -457,7 +457,7 @@ template <BST_TEMPL_DEF> Element *BstTab
+ 		}
+ 
+ 		mid = lower + ((upper-lower)>>1);
+-		keyRelation = compare(key, GET_KEY(*mid));
++		keyRelation = this->compare(key, GET_KEY(*mid));
+ 
+ 		if ( keyRelation < 0 )
+ 			upper = mid - 1;
+@@ -603,7 +603,7 @@ template <BST_TEMPL_DEF> Element *BstTab
+ 		}
+ 
+ 		mid = lower + ((upper-lower)>>1);
+-		keyRelation = compare(GET_KEY(el), GET_KEY(*mid));
++		keyRelation = this->compare(GET_KEY(el), GET_KEY(*mid));
+ 
+ 		if ( keyRelation < 0 )
+ 			upper = mid - 1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120918/19ea8234/attachment.html>


More information about the macports-changes mailing list