diff options
author | joerg <joerg@pkgsrc.org> | 2016-12-22 20:59:54 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2016-12-22 20:59:54 +0000 |
commit | eedc5ed0029c9a0ffaf2e97e899bb37d2b704aad (patch) | |
tree | 4f4d807261f064730f660dfa5929fd8121a6e0cf /archivers/bicom | |
parent | 189208f07e7bfc997a2b570eb05c4a8b80801c28 (diff) | |
download | pkgsrc-eedc5ed0029c9a0ffaf2e97e899bb37d2b704aad.tar.gz |
Fix dependency on pointer signs.
Diffstat (limited to 'archivers/bicom')
-rw-r--r-- | archivers/bicom/distinfo | 3 | ||||
-rw-r--r-- | archivers/bicom/patches/patch-bialib_sufftree.h | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/archivers/bicom/distinfo b/archivers/bicom/distinfo index b259a2b47ad..db34ba053bd 100644 --- a/archivers/bicom/distinfo +++ b/archivers/bicom/distinfo @@ -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 --git a/archivers/bicom/patches/patch-bialib_sufftree.h b/archivers/bicom/patches/patch-bialib_sufftree.h new file mode 100644 index 00000000000..f5e114de57c --- /dev/null +++ b/archivers/bicom/patches/patch-bialib_sufftree.h @@ -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) |