pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/ht



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat May 30 20:48:59 UTC 2020

Modified Files:
        pkgsrc/devel/ht: distinfo
Added Files:
        pkgsrc/devel/ht/patches: patch-htapp.cc

Log Message:
Don't compute abs of unsigned.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/ht/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ht/patches/patch-htapp.cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ht/distinfo
diff -u pkgsrc/devel/ht/distinfo:1.10 pkgsrc/devel/ht/distinfo:1.11
--- pkgsrc/devel/ht/distinfo:1.10       Tue Nov  3 03:27:35 2015
+++ pkgsrc/devel/ht/distinfo    Sat May 30 20:48:59 2020
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.10 2015/11/03 03:27:35 agc Exp $
+$NetBSD: distinfo,v 1.11 2020/05/30 20:48:59 joerg Exp $
 
 SHA1 (ht-2.1.0.tar.bz2) = d9d39fd3055fd4b4abd5a718bde8e0249cd61e9a
 RMD160 (ht-2.1.0.tar.bz2) = 665e20a70a4735acf2102521b49074f94a28fba6
 SHA512 (ht-2.1.0.tar.bz2) = 6b5fc5fcbc63b9b7c85721158e044e4578ebfdc38618c760c0e6de06a276bccd3a960ab8bed172de788934515ad94d86349c4abd3228da66b1601deaaa2ce410
 Size (ht-2.1.0.tar.bz2) = 884139 bytes
+SHA1 (patch-htapp.cc) = 62d14f6bd39eb1f49773d2868e43000c8aaf9d21

Added files:

Index: pkgsrc/devel/ht/patches/patch-htapp.cc
diff -u /dev/null pkgsrc/devel/ht/patches/patch-htapp.cc:1.1
--- /dev/null   Sat May 30 20:48:59 2020
+++ pkgsrc/devel/ht/patches/patch-htapp.cc      Sat May 30 20:48:59 2020
@@ -0,0 +1,13 @@
+$NetBSD: patch-htapp.cc,v 1.1 2020/05/30 20:48:59 joerg Exp $
+
+--- htapp.cc.orig      2020-05-27 23:39:17.675968433 +0000
++++ htapp.cc
+@@ -3023,7 +3023,7 @@ static uint isqr(uint u)
+ {
+       uint a = 2;
+       uint b = u/a;
+-      while (abs(a - b) > 1) {
++      while (abs((int)a - (int)b) > 1) {
+               a = (a+b)/2;
+               b = u/a;
+         }



Home | Main Index | Thread Index | Old Index