From a0e5ff67185095f0f8a8eb0c02078bbe25ef328f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 14 Jul 2014 12:33:04 +0200 Subject: [PATCH] w3m: libressl build fix. --- srcpkgs/w3m/patches/RAND_egd.libressl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/w3m/patches/RAND_egd.libressl.patch diff --git a/srcpkgs/w3m/patches/RAND_egd.libressl.patch b/srcpkgs/w3m/patches/RAND_egd.libressl.patch new file mode 100644 index 00000000000..c024c6c1f32 --- /dev/null +++ b/srcpkgs/w3m/patches/RAND_egd.libressl.patch @@ -0,0 +1,11 @@ +--- url.c.orig 2014-07-14 12:31:30.476563116 +0200 ++++ url.c 2014-07-14 12:32:16.364918248 +0200 +@@ -268,7 +268,7 @@ init_PRNG() + if (RAND_status()) + return; + if ((file = RAND_file_name(buffer, sizeof(buffer)))) { +-#ifdef USE_EGD ++#if defined(USE_EGD) && defined(HAVE_SSL_RAND_EGD) + if (RAND_egd(file) > 0) + return; + #endif