diff options
author | joerg <joerg> | 2016-12-22 20:59:54 +0000 |
---|---|---|
committer | joerg <joerg> | 2016-12-22 20:59:54 +0000 |
commit | b0528f0be30fe998bbb92dd0310b821f315020e9 (patch) | |
tree | 8b4acdbfd26ad8f36af20ad47f70aae992ba5a83 /archivers | |
parent | 5cfbf633527ebaeb7e73726f915b5ce6371993e2 (diff) | |
download | pkgsrc-b0528f0be30fe998bbb92dd0310b821f315020e9.tar.gz |
Fix dependency on pointer signs.
Diffstat (limited to 'archivers')
-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) |