net-libs/libsrtp: remove unused patch

Closes: https://bugs.gentoo.org/664046
Closes: https://github.com/gentoo/gentoo/pull/9496
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2018-08-07 21:40:57 +02:00
committed by Bernard Cafarelli
parent 18b35e8253
commit 32e94754f2

View File

@@ -1,17 +0,0 @@
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],