pkgsrc/devel/ragel/patches/patch-aapl_bstcommon.h
rodent a1d685302f Update to latest release, 6.9. Fix HOMEPAGE and MASTER_SITES. Some patches
were applied upstream, so remove. Comment, update, and defuzz remaining ones.

Ragel 6.9 - Oct 13, 2014
========================
 -updated command-line synopsis
 -ocaml: fix missing semicolon
 -ocaml: support -G1
 -ocaml: choose a unique name for type state
 -ruby: reduce the amount of calls to GET_WIDE_KEY()
 -union test case: warning fix
 -omit line directives around expression-oriented write statements
 -use AS_IF and test command to check if the DIST file is present
 -added missing std:: using
 -go: added '//line' directive support

Ragel 6.8 - Feb 11, 2013
========================

 -The -G2 code generator for Go1 was rewritten. Table, flat and switch-based
  code generators were added. (Anton Ageev)
 -The CXXFLAGS variable is not longer set in the configure script.
2015-03-27 03:50:55 +00:00

13 lines
407 B
C

$NetBSD: patch-aapl_bstcommon.h,v 1.2 2015/03/27 03:50:55 rodent Exp $
--- aapl/bstcommon.h.orig 2012-11-19 02:08:41.000000000 +0000
+++ aapl/bstcommon.h
@@ -361,7 +361,7 @@ template <BST_TEMPL_DEF> bool BstTable<B
}
mid = lower + ((upper-lower)>>1);
- keyRelation = compare(key, GET_KEY(*mid));
+ keyRelation = this->compare(key, GET_KEY(*mid));
if ( keyRelation < 0 )
upper = mid - 1;