diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
commit | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (patch) | |
tree | 5a4ac448a3b288b731c24d947e0ce52df3cab07b /net-libs/libsrtp/files | |
parent | 8187a741807f3e9a9e26304973cf18087dcf2560 (diff) |
gentoo resync : 23.06.2018
Diffstat (limited to 'net-libs/libsrtp/files')
-rw-r--r-- | net-libs/libsrtp/files/libsrtp-2.2.0-pcap-automagic-r0.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-libs/libsrtp/files/libsrtp-2.2.0-pcap-automagic-r0.patch b/net-libs/libsrtp/files/libsrtp-2.2.0-pcap-automagic-r0.patch new file mode 100644 index 000000000000..1075825945cb --- /dev/null +++ b/net-libs/libsrtp/files/libsrtp-2.2.0-pcap-automagic-r0.patch @@ -0,0 +1,20 @@ +diff -uNr libsrtp-2.2.0.ORIG/configure.ac libsrtp-2.2.0/configure.ac +--- libsrtp-2.2.0.ORIG/configure.ac 2018-06-18 13:28:52.385014993 +0100 ++++ libsrtp-2.2.0/configure.ac 2018-06-18 13:31:09.217020686 +0100 +@@ -273,6 +273,8 @@ + + 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"], [ + PCAP_LIB="" + AC_CHECK_LIB([pcap], [pcap_create], + [PCAP_LIB="-lpcap" +@@ -284,6 +286,7 @@ + AC_DEFINE([HAVE_PCAP], [1], [Define to 1 if you have the `winpcap' library (-lwpcap)]) + AC_SUBST([HAVE_PCAP], [1])]) + AC_SUBST([PCAP_LIB]) ++]) + + AC_MSG_CHECKING([whether to redirect logging to stdout]) + AC_ARG_ENABLE([log-stdout], |