Date: Sun, 26 Aug 2018 08:26:42 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r478107 - in head/textproc/htmldoc: . files Message-ID: <201808260826.w7Q8QggX097641@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Sun Aug 26 08:26:41 2018 New Revision: 478107 URL: https://svnweb.freebsd.org/changeset/ports/478107 Log: textproc/htmldoc: Do not use arc4random_stir. (Note that there is an updated version which will solve this too, but I am committing this one and will rebase the patch in bug 223721 as it still needs maintainer approval). PR: 230831, 230756 Approved by: portmgr (antoine) Modified: head/textproc/htmldoc/Makefile head/textproc/htmldoc/files/patch-htmldoc__http.c Modified: head/textproc/htmldoc/Makefile ============================================================================== --- head/textproc/htmldoc/Makefile Sun Aug 26 08:16:50 2018 (r478106) +++ head/textproc/htmldoc/Makefile Sun Aug 26 08:26:41 2018 (r478107) @@ -3,7 +3,7 @@ PORTNAME= htmldoc PORTVERSION= 1.8.28 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= https://github.com/michaelrsweet/htmldoc/releases/download/release-${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-source Modified: head/textproc/htmldoc/files/patch-htmldoc__http.c ============================================================================== --- head/textproc/htmldoc/files/patch-htmldoc__http.c Sun Aug 26 08:16:50 2018 (r478106) +++ head/textproc/htmldoc/files/patch-htmldoc__http.c Sun Aug 26 08:26:41 2018 (r478107) @@ -5,7 +5,7 @@ * it is the best we can do (on others, this seed isn't even used...) */ +#define CUPS_RAND() arc4random() -+#define CUPS_SRAND(v) arc4random_stir() ++#define CUPS_SRAND(v) CUPS_SRAND(time(NULL));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808260826.w7Q8QggX097641>