diff options
author | root <root@rshg054.dnsready.net> | 2012-02-17 19:20:30 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-17 19:20:30 +0000 |
commit | 4fc59478d1180fd7984003f5b1645fe40954299f (patch) | |
tree | 35f3d7dada2cfcb8194cdaed447c431664746934 /testing/libpcap/libnl32.patch | |
parent | 76774d40da5ce246c9f2178fdf937706d99af4b2 (diff) |
Fri Feb 17 19:20:30 UTC 2012
Diffstat (limited to 'testing/libpcap/libnl32.patch')
-rw-r--r-- | testing/libpcap/libnl32.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/libpcap/libnl32.patch b/testing/libpcap/libnl32.patch new file mode 100644 index 000000000..633fd003e --- /dev/null +++ b/testing/libpcap/libnl32.patch @@ -0,0 +1,19 @@ +diff -u -r libpcap-1.2.1/configure.in libpcap-1.2.1-libnl32/configure.in +--- libpcap-1.2.1/configure.in 2012-01-02 01:47:37.000000000 +0100 ++++ libpcap-1.2.1-libnl32/configure.in 2012-02-09 19:29:29.405603749 +0100 +@@ -433,12 +433,13 @@ + # + # Try libnl 2.x first. + # +- AC_CHECK_LIB(nl, nl_socket_alloc, ++ AC_CHECK_LIB(nl-3, nl_socket_alloc, + [ + # + # Yes, we have libnl 2.x. + # +- LIBS="-lnl-genl -lnl $LIBS" ++ LIBS="$(pkg-config --libs libnl-genl-3.0 libnl-3.0) $LIBS" ++ V_INCLS="$V_INCLS $(pkg-config --cflags libnl-genl-3.0 libnl-3.0)" + AC_DEFINE(HAVE_LIBNL,1,[if libnl exists]) + AC_DEFINE(HAVE_LIBNL_2_x,1,[if libnl exists and is version 2.x]) + ], |