diff options
author | 2003-11-02 22:21:04 +0000 | |
---|---|---|
committer | 2003-11-02 22:21:04 +0000 | |
commit | 7f643381c02d31b3f9a221b947e5004f32a18b8d (patch) | |
tree | bae58960e4baab10791fab7bab3640c36a5f10af /net-analyzer/ngrep/files | |
parent | This is the first feature-complete snapshot for 4.4. PDF docs aren't working ... (diff) | |
download | historical-7f643381c02d31b3f9a221b947e5004f32a18b8d.tar.gz historical-7f643381c02d31b3f9a221b947e5004f32a18b8d.tar.bz2 historical-7f643381c02d31b3f9a221b947e5004f32a18b8d.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.patch | 18 |
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; + |