summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-11-02 22:21:04 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-11-02 22:21:04 +0000
commitb83ef40ce15cfd807cebcbef7bccef5ac49247d4 (patch)
treeb1b6e4e7e7400d93b6aa2c7de083a59a7ff5a60b /net-analyzer/ngrep/files
parentThis is the first feature-complete snapshot for 4.4. PDF docs aren't working ... (diff)
downloadgentoo-2-b83ef40ce15cfd807cebcbef7bccef5ac49247d4.tar.gz
gentoo-2-b83ef40ce15cfd807cebcbef7bccef5ac49247d4.tar.bz2
gentoo-2-b83ef40ce15cfd807cebcbef7bccef5ac49247d4.zip
Fix test for HAVE_DUMB_UDPHDR to be in proper C format, closing bug #32535.
Diffstat (limited to 'net-analyzer/ngrep/files')
-rw-r--r--net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch b/net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch
new file mode 100644
index 000000000000..709bb1d25194
--- /dev/null
+++ b/net-analyzer/ngrep/files/ngrep-1.41-fix-HAVE_DUMB_UDPHDR-test.patch
@@ -0,0 +1,18 @@
+--- ngrep-1.41/configure.orig 2003-11-03 00:15:04.716684800 +0200
++++ ngrep-1.41/configure 2003-11-03 00:15:32.848408128 +0200
+@@ -1764,7 +1764,6 @@
+ #line 1765 "configure"
+ #include "confdefs.h"
+
+-int main() {
+ #ifndef __FAVOR_BSD
+ #define __FAVOR_BSD
+ #endif
+@@ -1775,6 +1774,7 @@
+
+ #include <netinet/udp.h>
+
++int main() {
+ struct udphdr foo;
+ unsigned short bar = foo.uh_sport;
+