aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qtopia/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch')
-rw-r--r--recipes-qtopia/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-qtopia/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch b/recipes-qtopia/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch
new file mode 100644
index 0000000..4004ede
--- /dev/null
+++ b/recipes-qtopia/kstars/kstars-embedded-0.8.5/gcc45-compilation-fixes.patch
@@ -0,0 +1,34 @@
+Index: kstars/kstars.cpp
+===================================================================
+--- kstars.orig/kstars.cpp
++++ kstars/kstars.cpp
+@@ -37,9 +37,9 @@
+ #include <qpe/mimetype.h>
+ #include <qpe/applnk.h>
+
+-#include <stdio.h>
+-#include <stdlib.h>
+-#include <stream.h>
++#include <cstdio>
++#include <cstdlib>
++#include <iostream>
+
+ #include "timedialog.h"
+ #include "locationdialog.h"
+Index: kstars/skymap.cpp
+===================================================================
+--- kstars.orig/skymap.cpp
++++ kstars/skymap.cpp
+@@ -36,9 +36,9 @@
+ #include <qpe/mimetype.h>
+ #include <qpe/applnk.h>
+
+-#include <math.h>
+-#include <stdlib.h>
+-#include <stream.h>
++#include <cmath>
++#include <cstdlib>
++#include <iostream>
+ #include <unistd.h>
+
+ #include "kstars.h"