From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-analyzer/nethogs/files: nethogs-0.6.1_pre2-gcc43.patch |
Date: | Fri, 05 Dec 2008 10:08:13 |
Message-Id: | E1L8XbV-0007BM-Sd@stork.gentoo.org |
1 | ssuominen 08/12/05 10:08:09 |
2 | |
3 | Added: nethogs-0.6.1_pre2-gcc43.patch |
4 | Log: |
5 | Version bump with GCC 4.3 and GLIBC 2.8 patch. |
6 | (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27.7 i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: nethogs-0.6.1_pre2-gcc43.patch |
15 | =================================================================== |
16 | diff -ur nethogs.orig/cui.cpp nethogs/cui.cpp |
17 | --- nethogs.orig/cui.cpp 2004-09-17 22:23:20.000000000 +0300 |
18 | +++ nethogs/cui.cpp 2008-12-05 12:02:58.000000000 +0200 |
19 | @@ -2,6 +2,7 @@ |
20 | #include <string> |
21 | #include <pwd.h> |
22 | #include <sys/types.h> |
23 | +#include <stdlib.h> |
24 | |
25 | #include <ncurses.h> |
26 | #include "nethogs.h" |
27 | diff -ur nethogs.orig/decpcap.c nethogs/decpcap.c |
28 | --- nethogs.orig/decpcap.c 2004-09-18 15:23:38.000000000 +0300 |
29 | +++ nethogs/decpcap.c 2008-12-05 12:04:46.000000000 +0200 |
30 | @@ -5,6 +5,7 @@ |
31 | #include <netinet/tcp.h> |
32 | #include <pcap.h> |
33 | #include "decpcap.h" |
34 | +#include <string.h> |
35 | |
36 | /* data container for callback-references */ |
37 | |
38 | diff -ur nethogs.orig/inodeproc.cpp nethogs/inodeproc.cpp |
39 | --- nethogs.orig/inodeproc.cpp 2004-09-14 19:14:23.000000000 +0300 |
40 | +++ nethogs/inodeproc.cpp 2008-12-05 12:06:30.000000000 +0200 |
41 | @@ -11,6 +11,8 @@ |
42 | #include <sys/stat.h> |
43 | #include <fcntl.h> |
44 | |
45 | +#include <limits.h> |
46 | + |
47 | struct proginfo |
48 | { |
49 | int pid; |