openbsd-ports/x11/isomaster/patches/patch-isomaster_c
giovanni 2c7b97f314 Update to 1.3.9
replace ftime(3) with gettimeofday(2)
replace random(3) with arc4random(3)
help and ok naddy@
2013-12-03 14:21:37 +00:00

14 lines
359 B
Plaintext

$OpenBSD: patch-isomaster_c,v 1.1 2013/12/03 14:21:37 giovanni Exp $
--- isomaster.c.orig Thu Nov 28 18:10:12 2013
+++ isomaster.c Thu Nov 28 18:10:33 2013
@@ -124,7 +124,9 @@ int main(int argc, char** argv)
if(argv[1] != NULL)
openIso(argv[1]);
+#ifndef HAVE_ARC4RANDOM
srandom((int)time(NULL));
+#endif
gtk_main();