From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/ndisc/patches/patch-src_tcptraceroute_c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/ndisc/patches/patch-src_tcptraceroute_c (limited to 'package/ndisc/patches/patch-src_tcptraceroute_c') diff --git a/package/ndisc/patches/patch-src_tcptraceroute_c b/package/ndisc/patches/patch-src_tcptraceroute_c new file mode 100644 index 000000000..584f46472 --- /dev/null +++ b/package/ndisc/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; -- cgit v1.2.3