diff options
Diffstat (limited to 'net-libs/libsrtp/files/libsrtp-pcap-automagic-r0.patch')
-rw-r--r-- | net-libs/libsrtp/files/libsrtp-pcap-automagic-r0.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-libs/libsrtp/files/libsrtp-pcap-automagic-r0.patch b/net-libs/libsrtp/files/libsrtp-pcap-automagic-r0.patch new file mode 100644 index 000000000000..2457e4d9616d --- /dev/null +++ b/net-libs/libsrtp/files/libsrtp-pcap-automagic-r0.patch @@ -0,0 +1,19 @@ +--- configure.in.orig 2015-03-25 15:37:31.953386365 +0000 ++++ configure.in 2015-03-25 15:39:49.192183689 +0000 +@@ -182,6 +182,8 @@ + AC_SUBST(HMAC_OBJS) + + dnl Checking for PCAP ++AC_ARG_ENABLE([pcap], AS_HELP_STRING([--disable-pcap], [Build without `pcap' library (-lpcap)])) ++AS_IF([test "x$enable_pcap" != "xno"], [ + AC_CHECK_LIB([pcap],[pcap_create], + [PCAP=1 + LIBS="-lpcap $LIBS" +@@ -189,6 +191,7 @@ + AC_DEFINE(HAVE_PCAP, 1, [Define to 1 if you have the `pcap' library (-lpcap)]) + AC_SUBST(HAVE_PCAP) + ]) ++]) + + AC_MSG_CHECKING(whether to use syslog for error reporting) + AC_ARG_ENABLE(syslog, |