diff --git a/srcpkgs/wget/patches/wget-libressl.patch b/srcpkgs/wget/patches/wget-libressl.patch new file mode 100644 index 00000000000..b9da8b35ef8 --- /dev/null +++ b/srcpkgs/wget/patches/wget-libressl.patch @@ -0,0 +1,15 @@ +$OpenBSD: patch-src_openssl_c,v 1.7 2014/04/19 12:14:15 sthen Exp $ +--- src/openssl.c Sat Apr 19 06:12:48 2014 ++++ src/openssl.c Sat Apr 19 06:13:18 2014 +@@ -86,9 +86,11 @@ init_prng (void) + if (RAND_status ()) + return; + ++#ifdef HAVE_SSL_RAND_EGD + /* Get random data from EGD if opt.egd_file was used. */ + if (opt.egd_file && *opt.egd_file) + RAND_egd (opt.egd_file); ++#endif + + if (RAND_status ()) + return; diff --git a/srcpkgs/wget/template b/srcpkgs/wget/template index 8a63485243c..3559b0dd279 100644 --- a/srcpkgs/wget/template +++ b/srcpkgs/wget/template @@ -1,11 +1,11 @@ # Template file for 'wget' pkgname=wget version=1.15 -revision=2 +revision=3 build_style=gnu-configure configure_args="--with-ssl=openssl --with-libssl-prefix=${XBPS_CROSS_BASE}/usr" hostmakedepends="perl" -makedepends="openssl-devel libidn-devel ca-certificates libuuid-devel pcre-devel" +makedepends="libressl-devel libidn-devel ca-certificates libuuid-devel pcre-devel" depends="ca-certificates" conf_files="/etc/wgetrc" short_desc="The GNU wget utility"