FreeSWITHC: git HASH 12b6940644a68ea444c0e430412d419ae368d4a8
authorMazi Lo <openwrt.mazilo@recursor.net>
Sun, 26 Oct 2014 04:02:04 +0000 (00:02 -0400)
committerMazi Lo <openwrt.mazilo@recursor.net>
Sun, 26 Oct 2014 04:02:04 +0000 (00:02 -0400)
1. libs/srtp/configure.ac: DO NOT check for urandom when
cross_compiling.

Signed-off-by: Mazi Lo <openwrt.mazilo@recursor.net>
net/freeswitch/Makefile
net/freeswitch/patches/1130800-libs-srtp-configure-ac.patch [new file with mode: 0644]

index e3b19b9a4d385785389afbf78b7c750eb496c6e0..53fe22e4a76487d409e27c22bdf453113591427a 100644 (file)
@@ -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)
diff --git a/net/freeswitch/patches/1130800-libs-srtp-configure-ac.patch b/net/freeswitch/patches/1130800-libs-srtp-configure-ac.patch
new file mode 100644 (file)
index 0000000..01e63e0
--- /dev/null
@@ -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