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_traceroute_h | |
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_traceroute_h')
-rw-r--r-- | package/ndisc6/patches/patch-src_traceroute_h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/ndisc6/patches/patch-src_traceroute_h b/package/ndisc6/patches/patch-src_traceroute_h new file mode 100644 index 000000000..d47efc0c3 --- /dev/null +++ b/package/ndisc6/patches/patch-src_traceroute_h @@ -0,0 +1,26 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- ndisc6-0.9.8.orig/src/traceroute.h 2008-05-01 14:52:28.000000000 +0200 ++++ ndisc6-0.9.8/src/traceroute.h 2009-05-10 19:23:51.000000000 +0200 +@@ -24,9 +24,9 @@ + typedef ssize_t (*trace_send_t) (int fd, unsigned ttl, unsigned n, + size_t plen, uint16_t port); + +-typedef ssize_t (*trace_parser_t) (const void *restrict data, size_t len, +- int *restrict ttl, +- unsigned *restrict n, uint16_t port); ++typedef ssize_t (*trace_parser_t) (const data, size_t len, ++ int ttl, ++ unsigned n, uint16_t port); + + typedef struct tracetype + { +@@ -34,7 +34,8 @@ typedef struct tracetype + int protocol; + int checksum_offset; + trace_send_t send_probe; +- trace_parser_t parse_resp, parse_err; ++ trace_parser_t parse_resp; ++ trace_parser_t parse_err; + } tracetype; + + # ifdef __cplusplus |