summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphaël Marichez <falco@gentoo.org>2007-04-07 00:47:12 +0000
committerRaphaël Marichez <falco@gentoo.org>2007-04-07 00:47:12 +0000
commit4bbc643f6a5c726668abb8bb7a65f7bee3915085 (patch)
treecfd7d5b85e7d816b14b035b84c114895297e45e4 /net-analyzer/snort/files
parentman page changes for Gentoo. migrate plugdev policy patch to new patchset. (diff)
downloadgentoo-2-4bbc643f6a5c726668abb8bb7a65f7bee3915085.tar.gz
gentoo-2-4bbc643f6a5c726668abb8bb7a65f7bee3915085.tar.bz2
gentoo-2-4bbc643f6a5c726668abb8bb7a65f7bee3915085.zip
Fix #173594 ip6 header redeclaration if libdnet
(Portage version: 2.1.2.2)
Diffstat (limited to 'net-analyzer/snort/files')
-rw-r--r--net-analyzer/snort/files/snort-2.6.1.4-libdnet-ip6.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-analyzer/snort/files/snort-2.6.1.4-libdnet-ip6.patch b/net-analyzer/snort/files/snort-2.6.1.4-libdnet-ip6.patch
new file mode 100644
index 000000000000..e580ecb0669c
--- /dev/null
+++ b/net-analyzer/snort/files/snort-2.6.1.4-libdnet-ip6.patch
@@ -0,0 +1,18 @@
+--- snort-2.6.1.4-orig/src/decode.h 2007-03-19 14:31:33.000000000 +0100
++++ snort-2.6.1.4/src/decode.h 2007-04-07 02:32:02.851976653 +0200
+@@ -885,6 +885,7 @@
+ #endif
+ #endif
+
++#ifndef DNET_IP6_H
+ struct ip6_hdr
+ {
+ union
+@@ -908,6 +909,7 @@
+ #define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen
+ #define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt
+ #define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim
++#endif
+ #define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim
+
+ /* Fragment header */