pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/bicom Fix dependency on pointer signs.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b69985b7bc1
branches:  trunk
changeset: 356219:0b69985b7bc1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 22 20:59:54 2016 +0000

description:
Fix dependency on pointer signs.

diffstat:

 archivers/bicom/distinfo                        |   3 ++-
 archivers/bicom/patches/patch-bialib_sufftree.h |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 6e879bb6278c -r 0b69985b7bc1 archivers/bicom/distinfo
--- a/archivers/bicom/distinfo  Thu Dec 22 20:58:40 2016 +0000
+++ b/archivers/bicom/distinfo  Thu Dec 22 20:59:54 2016 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 14:45:22 agc Exp $
+$NetBSD: distinfo,v 1.3 2016/12/22 20:59:54 joerg Exp $
 
 SHA1 (bicom101.zip) = b5cd48931cc88af0a2666ab1e09910259e890fe6
 RMD160 (bicom101.zip) = 3aa8c64155026da238f3c1da1c404fb05ec63567
 Size (bicom101.zip) = 104408 bytes
+SHA1 (patch-bialib_sufftree.h) = 4a3b921bcac546824dfbaed0142c07cfad4dd3c1
diff -r 6e879bb6278c -r 0b69985b7bc1 archivers/bicom/patches/patch-bialib_sufftree.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/bicom/patches/patch-bialib_sufftree.h   Thu Dec 22 20:59:54 2016 +0000
@@ -0,0 +1,17 @@
+$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)



Home | Main Index | Thread Index | Old Index