diff --git a/srcpkgs/libldap/patches/libressl.patch b/srcpkgs/libldap/patches/libressl.patch new file mode 100644 index 00000000000..04ee8b60e10 --- /dev/null +++ b/srcpkgs/libldap/patches/libressl.patch @@ -0,0 +1,15 @@ +--- libraries/libldap/tls_o.c.orig 2014-07-15 18:08:35.841431410 +0200 ++++ libraries/libldap/tls_o.c 2014-07-15 18:09:10.681720371 +0200 +@@ -1128,10 +1128,11 @@ tlso_seed_PRNG( const char *randfile ) + * The fact is that when $HOME is NULL, .rnd is used. + */ + randfile = RAND_file_name( buffer, sizeof( buffer ) ); +- ++#ifdef HAVE_SSL_RAND_EGD + } else if (RAND_egd(randfile) > 0) { + /* EGD socket */ + return 0; ++#endif + } + + if (randfile == NULL) { diff --git a/srcpkgs/libldap/template b/srcpkgs/libldap/template index 44ab69e58a5..a3bef7b82a8 100644 --- a/srcpkgs/libldap/template +++ b/srcpkgs/libldap/template @@ -1,7 +1,7 @@ # Template file for 'libldap' pkgname=libldap version=2.4.38 -revision=3 +revision=4 wrksrc="openldap-${version}" build_style=gnu-configure configure_args="--enable-dynamic --enable-proctitle --with-tls