svn commit: r417917 - in head/www/links1: . files
Bernard Spil
brnrd at FreeBSD.org
Sat Jul 2 10:16:15 UTC 2016
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 at 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);
More information about the svn-ports-head
mailing list