diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2014-01-29 20:18:52 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2014-01-29 20:18:52 +0000 |
commit | 01abf783d2fc93e5ebc4c473b9680bb445b2aafd (patch) | |
tree | b79f92667f13a655fa2a0ae2ae1ff9b79c413481 /textproc/htmldoc/files/patch-htmldoc__http.c | |
parent | 0d6a9109e8f8bfaa006edfe4b1fa2d7d450d751e (diff) | |
download | ports-01abf783d2fc93e5ebc4c473b9680bb445b2aafd.tar.gz ports-01abf783d2fc93e5ebc4c473b9680bb445b2aafd.zip |
Upgrade to HTMLDOC 1.8.28, fixing security-relevant bugs.
Support staging, and modernize LIB_DEPENDS.
Tweak build environment to get proper detection of png/jpeg libs.
Switch to using BZIP2 tarballs.
PR: ports/186024
Approved by: jose@diasfernandes.pt (maintainer)
Security: 6d08fa63-83bf-11e3-bdba-080027ef73ec
Notes
Notes:
svn path=/head/; revision=341774
Diffstat (limited to 'textproc/htmldoc/files/patch-htmldoc__http.c')
-rw-r--r-- | textproc/htmldoc/files/patch-htmldoc__http.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/htmldoc/files/patch-htmldoc__http.c b/textproc/htmldoc/files/patch-htmldoc__http.c new file mode 100644 index 000000000000..642469c2303e --- /dev/null +++ b/textproc/htmldoc/files/patch-htmldoc__http.c @@ -0,0 +1,11 @@ +--- ./htmldoc/http.c.orig 2014-01-05 21:41:32.000000000 +0100 ++++ ./htmldoc/http.c 2014-01-28 04:47:07.000000000 +0100 +@@ -1228,6 +1228,8 @@ + * Using the current time is a dubious random seed, but on some systems + * 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() + + CUPS_SRAND(time(NULL)); + |