summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2010-01-05 22:35:05 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2010-01-05 22:35:05 +0000
commit4af690a04b0c4a7447b1ee10f6264bcf53b66b97 (patch)
tree1300e18975eb348c336194b568eed2af6cc9b95d /sci-visualization/spyview/files/spyview-20091214-includes.patch
parentnet-misc/tucan: Reverted back to doicon, my bad (diff)
downloadsunrise-4af690a04b0c4a7447b1ee10f6264bcf53b66b97.tar.gz
sunrise-4af690a04b0c4a7447b1ee10f6264bcf53b66b97.tar.bz2
sunrise-4af690a04b0c4a7447b1ee10f6264bcf53b66b97.zip
Added patch for compilation with gcc-4.4
svn path=/sunrise/; revision=9815
Diffstat (limited to 'sci-visualization/spyview/files/spyview-20091214-includes.patch')
-rw-r--r--sci-visualization/spyview/files/spyview-20091214-includes.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-visualization/spyview/files/spyview-20091214-includes.patch b/sci-visualization/spyview/files/spyview-20091214-includes.patch
new file mode 100644
index 000000000..fa76d1b85
--- /dev/null
+++ b/sci-visualization/spyview/files/spyview-20091214-includes.patch
@@ -0,0 +1,31 @@
+diff -r -u spyview-2009-12-14-09_17.orig/spyview/Fl_Listbox.C spyview-2009-12-14-09_17/spyview/Fl_Listbox.C
+--- spyview-2009-12-14-09_17.orig/spyview/Fl_Listbox.C 2008-09-05 16:23:20.000000000 +0200
++++ spyview-2009-12-14-09_17/spyview/Fl_Listbox.C 2010-01-05 15:54:46.000000000 +0100
+@@ -1,4 +1,5 @@
+ #include "Fl_Listbox.H"
++#include <stdio.h>
+
+ Fl_Listbox::Fl_Listbox(int x, int y, int w, int h, const char *l) : Fl_Table(x,y,w,h,l)
+ {
+diff -r -u spyview-2009-12-14-09_17.orig/spyview/ImageData.H spyview-2009-12-14-09_17/spyview/ImageData.H
+--- spyview-2009-12-14-09_17.orig/spyview/ImageData.H 2009-12-14 09:15:33.000000000 +0100
++++ spyview-2009-12-14-09_17/spyview/ImageData.H 2010-01-04 22:59:38.000000000 +0100
+@@ -5,6 +5,7 @@
+ #include <FL/Fl_Output.H>
+
+ #include <string>
++#include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
+ #include <vector>
+diff -r -u spyview-2009-12-14-09_17.orig/spyview/gp_to_mat.C spyview-2009-12-14-09_17/spyview/gp_to_mat.C
+--- spyview-2009-12-14-09_17.orig/spyview/gp_to_mat.C 2009-08-28 23:46:45.000000000 +0200
++++ spyview-2009-12-14-09_17/spyview/gp_to_mat.C 2010-01-05 16:47:03.000000000 +0100
+@@ -5,6 +5,7 @@
+ #include <map>
+ #include <math.h>
+ #include <string.h>
++#include <stdio.h>
+ #include "../config.h"
+
+ using namespace std;