summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-05-14 16:21:40 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-05-14 16:21:40 +0000
commita34e90bcf956f86d425b956e0b504883009ac90b (patch)
tree9b1fe5d4a77a78cf6d3ced1270ee62001056dd8e /net-analyzer/tcpdump/files
parentupdated commons-beanutils dependency to reflect new slotting. see #71952 (diff)
downloadhistorical-a34e90bcf956f86d425b956e0b504883009ac90b.tar.gz
historical-a34e90bcf956f86d425b956e0b504883009ac90b.tar.bz2
historical-a34e90bcf956f86d425b956e0b504883009ac90b.zip
Update gcc4 patch with the proper AC_TRY_LINK fix. Thanks to halcy0n for the help.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'net-analyzer/tcpdump/files')
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-3.8.3-gcc4.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/net-analyzer/tcpdump/files/tcpdump-3.8.3-gcc4.patch b/net-analyzer/tcpdump/files/tcpdump-3.8.3-gcc4.patch
index 0414171222ee..5f20a5a45595 100644
--- a/net-analyzer/tcpdump/files/tcpdump-3.8.3-gcc4.patch
+++ b/net-analyzer/tcpdump/files/tcpdump-3.8.3-gcc4.patch
@@ -1,3 +1,42 @@
+--- tcpdump-3.8.3/configure.gcc34 2004-03-23 19:59:23.000000000 +0100
++++ tcpdump-3.8.3/configure 2004-03-30 14:56:21.469869618 +0200
+@@ -8917,18 +8917,10 @@
+ int
+ main ()
+ {
+-
+-int
+-return_pcap_debug(void)
+-{
+ extern int pcap_debug;
+
+ return pcap_debug;
+ }
+-
+- ;
+- return 0;
+-}
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
+ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
+@@ -8976,17 +8968,9 @@
+ int
+ main ()
+ {
+-
+- int
+- return_yydebug(void)
+- {
+ extern int yydebug;
+
+ return yydebug;
+- }
+-
+- ;
+- return 0;
+ }
+ _ACEOF
+ rm -f conftest.$ac_objext conftest$ac_exeext
diff --exclude='*~' --exclude='.*' -I '$Id:' -urN tcpdump-3.8.3.orig/print-fr.c tcpdump-3.8.3/print-fr.c
--- tcpdump-3.8.3.orig/print-fr.c 2005-05-14 05:53:15.000000000 -0400
+++ tcpdump-3.8.3/print-fr.c 2005-05-14 05:58:21.000000000 -0400