public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-analyzer/nethogs/files: nethogs-0.6.1_pre2-gcc43.patch
@ 2008-12-05 10:08 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2008-12-05 10:08 UTC (permalink / raw
  To: gentoo-commits

ssuominen    08/12/05 10:08:09

  Added:                nethogs-0.6.1_pre2-gcc43.patch
  Log:
  Version bump with GCC 4.3 and GLIBC 2.8 patch.
  (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27.7 i686)

Revision  Changes    Path
1.1                  net-analyzer/nethogs/files/nethogs-0.6.1_pre2-gcc43.patch

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
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

Index: nethogs-0.6.1_pre2-gcc43.patch
===================================================================
diff -ur nethogs.orig/cui.cpp nethogs/cui.cpp
--- nethogs.orig/cui.cpp	2004-09-17 22:23:20.000000000 +0300
+++ nethogs/cui.cpp	2008-12-05 12:02:58.000000000 +0200
@@ -2,6 +2,7 @@
 #include <string>
 #include <pwd.h>
 #include <sys/types.h>
+#include <stdlib.h>
 
 #include <ncurses.h>
 #include "nethogs.h"
diff -ur nethogs.orig/decpcap.c nethogs/decpcap.c
--- nethogs.orig/decpcap.c	2004-09-18 15:23:38.000000000 +0300
+++ nethogs/decpcap.c	2008-12-05 12:04:46.000000000 +0200
@@ -5,6 +5,7 @@
 #include <netinet/tcp.h>
 #include <pcap.h>
 #include "decpcap.h"
+#include <string.h>
 
 /* data container for callback-references */
 
diff -ur nethogs.orig/inodeproc.cpp nethogs/inodeproc.cpp
--- nethogs.orig/inodeproc.cpp	2004-09-14 19:14:23.000000000 +0300
+++ nethogs/inodeproc.cpp	2008-12-05 12:06:30.000000000 +0200
@@ -11,6 +11,8 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
+#include <limits.h>
+
 struct proginfo
 {
 	int pid;






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-05 10:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-05 10:08 [gentoo-commits] gentoo-x86 commit in net-analyzer/nethogs/files: nethogs-0.6.1_pre2-gcc43.patch Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox