summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2017-09-19 00:12:56 +0100
committerTony Vroon <chainsaw@gentoo.org>2017-09-19 00:14:14 +0100
commit6efbbfd7c1a57942b6d99a83c0b7ffcca13b40f6 (patch)
treed602eb18c8cbbd79ee8163e2f2df41470684c70b /net-libs/libsrtp/files
parentsys-apps/openrc: 0.31.2 version bump (diff)
downloadgentoo-6efbbfd7c1a57942b6d99a83c0b7ffcca13b40f6.tar.gz
gentoo-6efbbfd7c1a57942b6d99a83c0b7ffcca13b40f6.tar.bz2
gentoo-6efbbfd7c1a57942b6d99a83c0b7ffcca13b40f6.zip
net-libs/libsrtp: Version bump to 1.6.0 & 2.1.0
Package-Manager: portage-2.3.8
Diffstat (limited to 'net-libs/libsrtp/files')
-rw-r--r--net-libs/libsrtp/files/libsrtp-2.1.0-pcap-automagic-r0.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-libs/libsrtp/files/libsrtp-2.1.0-pcap-automagic-r0.patch b/net-libs/libsrtp/files/libsrtp-2.1.0-pcap-automagic-r0.patch
new file mode 100644
index 000000000000..b29fa1ba4f95
--- /dev/null
+++ b/net-libs/libsrtp/files/libsrtp-2.1.0-pcap-automagic-r0.patch
@@ -0,0 +1,17 @@
+diff -uNr libsrtp-2.1.0.ORIG/configure.in libsrtp-2.1.0/configure.in
+--- libsrtp-2.1.0.ORIG/configure.in 2017-09-18 23:53:18.241631991 +0100
++++ libsrtp-2.1.0/configure.in 2017-09-18 23:55:30.077635461 +0100
+@@ -272,10 +272,13 @@
+ 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],
+ [LIBS="-lpcap $LIBS"
+ AC_DEFINE([HAVE_PCAP], [1], [Define to 1 if you have the `pcap' library (-lpcap)])
+ AC_SUBST([HAVE_PCAP], [1])])
++])
+
+ AC_MSG_CHECKING([whether to redirect logging to stdout])
+ AC_ARG_ENABLE([log-stdout],