Date: Sat, 2 Jul 2016 10:16:14 +0000 (UTC) From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417917 - in head/www/links1: . files Message-ID: <201607021016.u62AGE5o060291@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brnrd Date: Sat Jul 2 10:16:14 2016 New Revision: 417917 URL: https://svnweb.freebsd.org/changeset/ports/417917 Log: www/links1: Fix building without RAND_egd - Move from USE_OPENSSL to USES=ssl PR: 210727 Submitted by: Tobias Kortkamp <t@tobik.me> Added: head/www/links1/files/patch-https.c (contents, props changed) Modified: head/www/links1/Makefile Modified: head/www/links1/Makefile ============================================================================== --- head/www/links1/Makefile Sat Jul 2 09:05:22 2016 (r417916) +++ head/www/links1/Makefile Sat Jul 2 10:16:14 2016 (r417917) @@ -14,7 +14,7 @@ COMMENT= Lynx-like text WWW browser GNU_CONFIGURE= yes -USE_OPENSSL= yes +USES= ssl CONFLICTS= links-2* CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE} Added: head/www/links1/files/patch-https.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/links1/files/patch-https.c Sat Jul 2 10:16:14 2016 (r417917) @@ -0,0 +1,14 @@ +--- https.c.orig 2006-09-11 02:09:24 UTC ++++ https.c +@@ -33,7 +33,10 @@ SSL *getSSL(void) + char f_randfile[PATH_MAX]; + + const char *f = RAND_file_name(f_randfile, sizeof(f_randfile)); +- if (f && RAND_egd(f)<0) { ++#ifndef OPENSSL_NO_EGD ++ if (f && RAND_egd(f)<0) ++#endif ++ { + /* Not an EGD, so read and write to it */ + if (RAND_load_file(f_randfile, -1)) + RAND_write_file(f_randfile);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607021016.u62AGE5o060291>