From bad63eb735b13e1f009a19af1dd810f7279c2ba1 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 24 May 2009 20:20:09 +0200 Subject: gcc 4.4 compatibility patches * add the rest of the patches missed by the last commit --- package/iptraf/patches/patch-src_bar_c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/iptraf/patches/patch-src_bar_c (limited to 'package/iptraf/patches/patch-src_bar_c') diff --git a/package/iptraf/patches/patch-src_bar_c b/package/iptraf/patches/patch-src_bar_c new file mode 100644 index 000000000..09ca6aef0 --- /dev/null +++ b/package/iptraf/patches/patch-src_bar_c @@ -0,0 +1,12 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- iptraf-3.0.0.orig/src/bar.c 2005-09-13 08:42:54.000000000 +0200 ++++ iptraf-3.0.0/src/bar.c 2009-05-21 23:04:49.000000000 +0200 +@@ -26,7 +26,7 @@ void set_barptr(char **barptr, char *ent + { + *barptr = entry; + *starttime = time(NULL); +- bzero(spanbr, size); ++ memset(spanbr, 0, size); + + if (!(*cleared)) { + wattrset(win, IPSTATATTR); -- cgit v1.2.3