summaryrefslogtreecommitdiff
path: root/astro/xglobe/files/patch-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'astro/xglobe/files/patch-main.cpp')
-rw-r--r--astro/xglobe/files/patch-main.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/astro/xglobe/files/patch-main.cpp b/astro/xglobe/files/patch-main.cpp
new file mode 100644
index 000000000000..505b961f3df7
--- /dev/null
+++ b/astro/xglobe/files/patch-main.cpp
@@ -0,0 +1,19 @@
+--- main.cpp.orig 1999-07-13 10:32:55.000000000 -0700
++++ main.cpp 2011-01-18 14:22:52.000000000 -0800
+@@ -24,6 +24,7 @@
+ */
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <qstring.h>
+ #include "config.h"
+@@ -37,6 +38,8 @@
+ {
+ EarthApplication myApp(argc, argv);
+
++ srandomdev();
++
+ #ifdef WITH_QIMAGEIO
+ qInitImageIO();
+ #endif