]> git.pld-linux.org Git - packages/opal.git/blob - srtp.patch
- use libsrtp2 instead of srtp; partial ffmpeg update
[packages/opal.git] / srtp.patch
1 --- opal-3.10.11/opal.m4~       2018-09-27 11:03:07.000000000 +0200
2 +++ opal-3.10.11/opal.m4        2018-09-27 11:04:28.172164490 +0200
3 @@ -903,7 +903,7 @@ AC_DEFUN([OPAL_FIND_LIBSRTP],
4           [
5            AC_LANG(C)
6            AC_COMPILE_IFELSE([
7 -                             AC_LANG_PROGRAM([[#include "srtp/srtp.h"]], 
8 +                             AC_LANG_PROGRAM([[#include "srtp2/srtp.h"]], 
9                                               [[
10                                                 crypto_policy_t p; p.cipher_key_len = SRTP_MASTER_KEY_LEN; return 0; 
11                                               ]]
12 @@ -913,7 +913,7 @@ AC_DEFUN([OPAL_FIND_LIBSRTP],
13                              [opal_libsrtp=no])
14  
15            if test "x${opal_libsrtp}" = "xyes" ; then
16 -            SRTP_LIBS="-lsrtp"
17 +            SRTP_LIBS="-lsrtp2"
18            fi
19             AS_IF([test AS_VAR_GET([opal_libsrtp]) = yes], [$1], [$2])[]
20           ])
This page took 0.06391 seconds and 3 git commands to generate.