diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2011-01-20 12:26:11 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2011-01-20 12:26:11 +0000 |
commit | 20eb7a844cdc5ced09501aa2d2493827aeccd7df (patch) | |
tree | df9c9431e56469f911b3adfd5ca13b5fc81e848e /astro/xglobe/files/patch-main.cpp | |
parent | Unbreak on amd64 (diff) |
- Migrate to qt4
PR: ports/154148
Submitted by: G. Paul Ziemba <p-fbsd-bugs@ziemba.us>
Feature safe: yes
Diffstat (limited to 'astro/xglobe/files/patch-main.cpp')
-rw-r--r-- | astro/xglobe/files/patch-main.cpp | 19 |
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 |