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 | |
parent | 98b488c6190dcf02494949b714d7b467105e58ad (diff) |
Notes
Diffstat (limited to 'textproc')
-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)); |