diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-12-27 07:51:34 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2014-12-27 07:51:34 +0100 |
commit | 92d7f6522617c947d635680d045f12a4ef77bcb4 (patch) | |
tree | c20dc2f36505542fdb19a2b9d1da1b33ad92fba8 /package/ndisc6/patches/patch-src_tcptraceroute_c | |
parent | 6a7c5ff345b197c1d5f0f845adb2bb0da9690075 (diff) |
convert checksum check to sha256
Rename the variable name to PKG_HASH and use a
256 Bit SHA checksum to verify the integrity of
distfiles. While there do some housekeeping and
remove old packages.
Diffstat (limited to 'package/ndisc6/patches/patch-src_tcptraceroute_c')
-rw-r--r-- | package/ndisc6/patches/patch-src_tcptraceroute_c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/ndisc6/patches/patch-src_tcptraceroute_c b/package/ndisc6/patches/patch-src_tcptraceroute_c new file mode 100644 index 000000000..584f46472 --- /dev/null +++ b/package/ndisc6/patches/patch-src_tcptraceroute_c @@ -0,0 +1,20 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ndisc6-0.9.8.orig/src/tcptraceroute.c 2008-05-01 14:52:28.000000000 +0200 ++++ ndisc6-0.9.8/src/tcptraceroute.c 2009-05-10 19:15:28.000000000 +0200 +@@ -114,6 +114,7 @@ static const char bin_name[] = RLTRACERO + + int main (int argc, char *argv[]) + { ++ int i; + setlocale (LC_ALL, ""); + bindtextdomain (PACKAGE, LOCALEDIR); + textdomain (PACKAGE); +@@ -130,7 +131,7 @@ int main (int argc, char *argv[]) + + /* Prepare big enough buffers */ + unsigned len = 0; +- for (int i = 1; i < argc; i++) ++ for (i = 1; i < argc; i++) + len += strlen (argv[i]); + + char optbuf[3 * len + argc], *buf = optbuf; |