summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-04-15 22:30:11 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-04-15 22:30:11 +0000
commitff178e7e971faf132f4530ff922cf9496e08cffd (patch)
tree4f8f313fc3e84d6743f35b03ff944c792b2ac1c8 /net-analyzer/iptraf/files
parentVersion bump. (diff)
downloadgentoo-2-ff178e7e971faf132f4530ff922cf9496e08cffd.tar.gz
gentoo-2-ff178e7e971faf132f4530ff922cf9496e08cffd.tar.bz2
gentoo-2-ff178e7e971faf132f4530ff922cf9496e08cffd.zip
Adding header patches to fix bug #128965, thanks to plasmaroo
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'net-analyzer/iptraf/files')
-rw-r--r--net-analyzer/iptraf/files/iptraf-3.0.0-headerfix.patch13
-rw-r--r--net-analyzer/iptraf/files/iptraf-3.0.0-ipv6-headerfix.patch14
2 files changed, 27 insertions, 0 deletions
diff --git a/net-analyzer/iptraf/files/iptraf-3.0.0-headerfix.patch b/net-analyzer/iptraf/files/iptraf-3.0.0-headerfix.patch
new file mode 100644
index 000000000000..7ce5e7c66eb9
--- /dev/null
+++ b/net-analyzer/iptraf/files/iptraf-3.0.0-headerfix.patch
@@ -0,0 +1,13 @@
+diff -urN ./iptraf-3.0.0.orig/src/tr.c ./iptraf-3.0.0/src/tr.c
+--- ./iptraf-3.0.0.orig/src/tr.c 2005-09-13 08:42:54.000000000 +0200
++++ ./iptraf-3.0.0/src/tr.c 2006-04-16 00:20:06.000000000 +0200
+@@ -7,8 +7,8 @@
+ */
+
+ #include <asm/types.h>
+-#include <linux/if_tr.h>
+ #include <netinet/in.h>
++#include <linux/if_tr.h>
+
+ unsigned int get_tr_ip_offset(unsigned char *pkt)
+ {
diff --git a/net-analyzer/iptraf/files/iptraf-3.0.0-ipv6-headerfix.patch b/net-analyzer/iptraf/files/iptraf-3.0.0-ipv6-headerfix.patch
new file mode 100644
index 000000000000..a2ec93eb6bce
--- /dev/null
+++ b/net-analyzer/iptraf/files/iptraf-3.0.0-ipv6-headerfix.patch
@@ -0,0 +1,14 @@
+diff -urN ./iptraf-3.0.0.orig/src/othptab.c ./iptraf-3.0.0/src/othptab.c
+--- ./iptraf-3.0.0.orig/src/othptab.c 2006-04-16 00:20:52.000000000 +0200
++++ ./iptraf-3.0.0/src/othptab.c 2006-04-16 00:22:01.000000000 +0200
+@@ -17,9 +17,9 @@
+ ***/
+
+ #include <asm/types.h>
+-#include <linux/if_ether.h>
+ #include <netinet/ip6.h>
+ #include <netinet/icmp6.h>
++#include <linux/if_ether.h>
+ #include <winops.h>
+ #include "arphdr.h"
+ #include "options.h"