From 46caa1fd7992f2107fb4a304e10f4a01b8b72fec Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 22 Oct 2015 09:14:45 +0200 Subject: openldap: update and fix compile with libressl --- package/openldap/patches/patch-configure | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 package/openldap/patches/patch-configure (limited to 'package/openldap/patches/patch-configure') diff --git a/package/openldap/patches/patch-configure b/package/openldap/patches/patch-configure new file mode 100644 index 000000000..248f06e8a --- /dev/null +++ b/package/openldap/patches/patch-configure @@ -0,0 +1,33 @@ +--- openldap-2.4.42.orig/configure 2015-08-14 17:25:28.000000000 +0200 ++++ openldap-2.4.42/configure 2015-10-22 07:28:53.000000000 +0200 +@@ -22223,29 +22223,10 @@ $as_echo "$as_me: WARNING: Strong authen + fi + fi + +-if test $cross_compiling != yes && test "$ac_cv_mingw32" != yes ; then +- dev=no +- if test -r /dev/urandom ; then +- dev="/dev/urandom"; +- elif test -r /idev/urandom ; then +- dev="/idev/urandom"; +- elif test -r /dev/srandom ; then +- dev="/dev/srandom"; +- elif test -r /dev/random ; then +- dev="/dev/random"; +- elif test -r /idev/random ; then +- dev="/idev/random"; +- fi +- +- if test $dev != no ; then +- + cat >>confdefs.h <<_ACEOF +-#define URANDOM_DEVICE "$dev" ++#define URANDOM_DEVICE "/dev/urandom" + _ACEOF + +- fi +-fi +- + ol_link_fetch=no + if test $ol_with_fetch != no ; then + ol_LIBS=$LIBS -- cgit v1.2.3