FreeSWITHC: git HASH 12b6940644a68ea444c0e430412d419ae368d4a8
1. libs/srtp/configure.ac: DO NOT check for urandom when cross_compiling. Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
This commit is contained in:
parent
6ef09be1b6
commit
cc7c560f55
2 changed files with 17 additions and 1 deletions
|
@ -18,7 +18,7 @@ PKG_VERSION:=1.5.15b
|
|||
# The latest FS git hash in PKG_SOURCE_VERSION can be obtained from
|
||||
# http://fisheye.freeswitch.org
|
||||
#
|
||||
FS_WITH_DEFAULT_HEAD:=cf332d7cdccfa1e37f31c4f240714937d9f650f9
|
||||
FS_WITH_DEFAULT_HEAD:=12b6940644a68ea444c0e430412d419ae368d4a8
|
||||
PKG_SOURCE_URL:=https://stash.$(PKG_NAME).org/scm/fs/$(PKG_NAME).git
|
||||
PKG_SOURCE_VERSION:=$(if $(CONFIG_FS_WITH_LATEST_HEAD),$(shell git ls-remote $(PKG_SOURCE_URL) HEAD|cut -f1),$(FS_WITH_DEFAULT_HEAD))
|
||||
FS_WITH_DEFAULT_HEAD_SHORT:=$(shell echo $(FS_WITH_DEFAULT_HEAD)|cut -b -7)
|
||||
|
|
16
net/freeswitch/patches/1130800-libs-srtp-configure-ac.patch
Normal file
16
net/freeswitch/patches/1130800-libs-srtp-configure-ac.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
--- a/libs/srtp/configure.ac
|
||||
+++ b/libs/srtp/configure.ac
|
||||
@@ -130,9 +130,12 @@ if test "$enable_kernel_linux" = "yes";
|
||||
fi
|
||||
AC_MSG_RESULT($enable_kernel_linux)
|
||||
|
||||
-dnl Check for /dev/urandom
|
||||
+
|
||||
+dnl Check for /dev/urandom ONLY when NOT cross compiling
|
||||
+if test "$cross_compiling" != yes; then
|
||||
AC_CHECK_FILE(/dev/urandom, DEV_URANDOM=/dev/urandom,
|
||||
[AC_CHECK_FILE(/dev/random, DEV_URANDOM=/dev/random)])
|
||||
+fi
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
Loading…
Reference in a new issue