diff options
-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)); |