diff options
author | Xin LI <delphij@FreeBSD.org> | 2018-08-26 08:26:41 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2018-08-26 08:26:41 +0000 |
commit | 6b1e8d6ab746f76406513e5390d872d84ccfacfe (patch) | |
tree | 3c5cd43463cb596259e1204d271354ed7f331bf1 /textproc/htmldoc | |
parent | net/relayd: Stop using arc4random_stir (diff) |
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)
Diffstat (limited to 'textproc/htmldoc')
-rw-r--r-- | textproc/htmldoc/Makefile | 2 | ||||
-rw-r--r-- | textproc/htmldoc/files/patch-htmldoc__http.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/textproc/htmldoc/Makefile b/textproc/htmldoc/Makefile index bab0be0c551f..d4022e1d6c51 100644 --- a/textproc/htmldoc/Makefile +++ b/textproc/htmldoc/Makefile @@ -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 diff --git a/textproc/htmldoc/files/patch-htmldoc__http.c b/textproc/htmldoc/files/patch-htmldoc__http.c index 642469c2303e..c9c86063808c 100644 --- a/textproc/htmldoc/files/patch-htmldoc__http.c +++ b/textproc/htmldoc/files/patch-htmldoc__http.c @@ -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)); |