Thu Dec 22 20:59:55 2016 UTC ()
Fix dependency on pointer signs.


(joerg)
diff -r1.2 -r1.3 pkgsrc/archivers/bicom/distinfo
diff -r0 -r1.1 pkgsrc/archivers/bicom/patches/patch-bialib_sufftree.h

cvs diff -r1.2 -r1.3 pkgsrc/archivers/bicom/distinfo (expand / switch to unified diff)

--- pkgsrc/archivers/bicom/distinfo 2005/02/23 14:45:22 1.2
+++ pkgsrc/archivers/bicom/distinfo 2016/12/22 20:59:54 1.3
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.2 2005/02/23 14:45:22 agc Exp $ 1$NetBSD: distinfo,v 1.3 2016/12/22 20:59:54 joerg Exp $
2 2
3SHA1 (bicom101.zip) = b5cd48931cc88af0a2666ab1e09910259e890fe6 3SHA1 (bicom101.zip) = b5cd48931cc88af0a2666ab1e09910259e890fe6
4RMD160 (bicom101.zip) = 3aa8c64155026da238f3c1da1c404fb05ec63567 4RMD160 (bicom101.zip) = 3aa8c64155026da238f3c1da1c404fb05ec63567
5Size (bicom101.zip) = 104408 bytes 5Size (bicom101.zip) = 104408 bytes
 6SHA1 (patch-bialib_sufftree.h) = 4a3b921bcac546824dfbaed0142c07cfad4dd3c1

File Added: pkgsrc/archivers/bicom/patches/patch-bialib_sufftree.h
$NetBSD: patch-bialib_sufftree.h,v 1.1 2016/12/22 20:59:54 joerg Exp $

Don't check sign of pointers.

--- bialib/sufftree.h.orig	2016-12-22 12:42:37.570864687 +0000
+++ bialib/sufftree.h
@@ -95,8 +95,8 @@ class SuffixTreeModel : public Arithmeti
     {
     public:
     bool InEdge()
-      {return(r>0);}
-    //After Canonize()ing a point, r >0 <=> proj!=0, i.e., point
+      {return(r != 0);}
+    //After Canonize()ing a point, r !=0 <=> proj!=0, i.e., point
     //is inside an edge
     INode *ins;  //parent of point
     LNode *r;    //if !=0, then child(ins,a)