mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
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
11 lines
399 B
C
11 lines
399 B
C
--- ./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));
|
|
|