summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-05-25 23:41:56 +0000
committerJeroen Roovers <jer@gentoo.org>2009-05-25 23:41:56 +0000
commitc766509d12379c841a354ea383dda46e27ec4447 (patch)
treef894b91a21c4ae4fc855c06be66c897f5bfb1df9 /net-libs/libnet/files
parentFixed dependency, bug #271098. (diff)
downloadgentoo-2-c766509d12379c841a354ea383dda46e27ec4447.tar.gz
gentoo-2-c766509d12379c841a354ea383dda46e27ec4447.tar.bz2
gentoo-2-c766509d12379c841a354ea383dda46e27ec4447.zip
Do not call autoconf directly in 1.0.2a-r2, but call eautoconf (bug #226599). Apply cq_end_loop patch to new 1.1.2.1 revision to build net-analyzer/dhcp_probe against.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'net-libs/libnet/files')
-rw-r--r--net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch b/net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch
new file mode 100644
index 000000000000..6da82c0b83a6
--- /dev/null
+++ b/net-libs/libnet/files/libnet-1.1.2.1-cq_end_loop.patch
@@ -0,0 +1,32 @@
+Patch needed for net-analyzer/dhcp_probe -JeR (see [1])
+
+[1] http://www.net.princeton.edu/software/dhcp_probe/INSTALL.dhcp_probe.txt
+
+--- libnet/src/libnet_cq.c.orig 2004-01-28 20:45:00.000000000 +0100
++++ libnet/src/libnet_cq.c 2008-10-27 22:51:10.000000000 +0100
+@@ -393,3 +393,15 @@
+ {
+ return (l_cqd.node);
+ }
++
++u_int32_t
++libnet_cq_end_loop()
++{
++
++ if (! clear_cq_lock(CQ_LOCK_WRITE))
++ {
++ return (0);
++ }
++ l_cqd.current = l_cq;
++ return (1);
++}
+--- libnet/include/libnet/libnet-functions.h.orig 2004-03-25 19:50:48.000000000 +0100
++++ libnet/include/libnet/libnet-functions.h 2008-10-27 22:52:14.000000000 +0100
+@@ -2148,4 +2148,7 @@
+ #endif
+ #endif /* __LIBNET_FUNCTIONS_H */
+
++u_int32_t
++libnet_cq_end_loop();
++
+ /* EOF */