aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gmsh/files
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2009-07-25 20:55:07 +0800
committerarved <arved@FreeBSD.org>2009-07-25 20:55:07 +0800
commit37f330dbf429c7a1031aaa59391db2d887d3b378 (patch)
tree318616e15dc76f83a90db316af5081ada038587e /cad/gmsh/files
parentc0d7838305ae19f2c2f2eaa8615355416bd6a28c (diff)
downloadfreebsd-ports-gnome-37f330dbf429c7a1031aaa59391db2d887d3b378.tar.gz
freebsd-ports-gnome-37f330dbf429c7a1031aaa59391db2d887d3b378.tar.zst
freebsd-ports-gnome-37f330dbf429c7a1031aaa59391db2d887d3b378.zip
Fix compile with gcc 4.4
PR: 136948 Submitted by: Stephen Montgomery-Smith <stephen@missouri.edu>
Diffstat (limited to 'cad/gmsh/files')
-rw-r--r--cad/gmsh/files/patch-Common::StringUtils.cpp10
-rw-r--r--cad/gmsh/files/patch-Fltk::aboutWindow.cpp10
-rw-r--r--cad/gmsh/files/patch-Fltk::messageWindow.cpp10
-rw-r--r--cad/gmsh/files/patch-Geo::GModelIO_CGNS.cpp10
-rw-r--r--cad/gmsh/files/patch-Post::PViewDataIO.cpp10
-rw-r--r--cad/gmsh/files/patch-contrib::Chaco::main::Gmsh_printf.cpp10
6 files changed, 60 insertions, 0 deletions
diff --git a/cad/gmsh/files/patch-Common::StringUtils.cpp b/cad/gmsh/files/patch-Common::StringUtils.cpp
new file mode 100644
index 000000000000..41875a388ad1
--- /dev/null
+++ b/cad/gmsh/files/patch-Common::StringUtils.cpp
@@ -0,0 +1,10 @@
+--- Common/StringUtils.cpp-xxx 2009-07-20 16:49:34.000000000 -0500
++++ Common/StringUtils.cpp 2009-07-20 16:49:53.000000000 -0500
+@@ -9,6 +9,7 @@
+
+ #include "StringUtils.h"
+ #include "GmshMessage.h"
++#include <cstdio>
+
+ void SwapBytes(char *array, int size, int n)
+ {
diff --git a/cad/gmsh/files/patch-Fltk::aboutWindow.cpp b/cad/gmsh/files/patch-Fltk::aboutWindow.cpp
new file mode 100644
index 000000000000..ead078b73046
--- /dev/null
+++ b/cad/gmsh/files/patch-Fltk::aboutWindow.cpp
@@ -0,0 +1,10 @@
+--- Fltk/aboutWindow.cpp-xxx 2009-07-20 16:56:09.000000000 -0500
++++ Fltk/aboutWindow.cpp 2009-07-20 16:56:21.000000000 -0500
+@@ -13,6 +13,7 @@
+ #include "StringUtils.h"
+ #include "OS.h"
+ #include "Context.h"
++#include <cstdio>
+
+ static void help_license_cb(Fl_Widget *w, void *data)
+ {
diff --git a/cad/gmsh/files/patch-Fltk::messageWindow.cpp b/cad/gmsh/files/patch-Fltk::messageWindow.cpp
new file mode 100644
index 000000000000..a4f8bf636f3d
--- /dev/null
+++ b/cad/gmsh/files/patch-Fltk::messageWindow.cpp
@@ -0,0 +1,10 @@
+--- Fltk/messageWindow.cpp-xxx 2009-07-20 16:50:18.000000000 -0500
++++ Fltk/messageWindow.cpp 2009-07-20 16:50:28.000000000 -0500
+@@ -4,6 +4,7 @@
+ // bugs and problems to <gmsh@geuz.org>.
+
+ #include <string.h>
++#include <cstdio>
+ #include <FL/Fl_Box.H>
+ #include <FL/Fl_Return_Button.H>
+ #include <FL/fl_ask.H>
diff --git a/cad/gmsh/files/patch-Geo::GModelIO_CGNS.cpp b/cad/gmsh/files/patch-Geo::GModelIO_CGNS.cpp
new file mode 100644
index 000000000000..383b5d518561
--- /dev/null
+++ b/cad/gmsh/files/patch-Geo::GModelIO_CGNS.cpp
@@ -0,0 +1,10 @@
+--- Geo/GModelIO_CGNS.cpp-xxx 2009-07-20 16:54:23.000000000 -0500
++++ Geo/GModelIO_CGNS.cpp 2009-07-20 16:55:01.000000000 -0500
+@@ -24,6 +24,7 @@
+ #define omp_destroy_lock(x)
+ #endif
+
++#include <cstdio>
+ #include <cstring>
+ #include <iostream> // DBG
+ #include <map>
diff --git a/cad/gmsh/files/patch-Post::PViewDataIO.cpp b/cad/gmsh/files/patch-Post::PViewDataIO.cpp
new file mode 100644
index 000000000000..1ba6307ccd92
--- /dev/null
+++ b/cad/gmsh/files/patch-Post::PViewDataIO.cpp
@@ -0,0 +1,10 @@
+--- Post/PViewDataIO.cpp-xxx 2009-07-20 16:53:25.000000000 -0500
++++ Post/PViewDataIO.cpp 2009-07-20 16:53:37.000000000 -0500
+@@ -4,6 +4,7 @@
+ // bugs and problems to <gmsh@geuz.org>.
+
+ #include <string.h>
++#include <cstdio>
+ #include "GmshMessage.h"
+ #include "Numeric.h"
+ #include "PViewData.h"
diff --git a/cad/gmsh/files/patch-contrib::Chaco::main::Gmsh_printf.cpp b/cad/gmsh/files/patch-contrib::Chaco::main::Gmsh_printf.cpp
new file mode 100644
index 000000000000..e64cab811bcb
--- /dev/null
+++ b/cad/gmsh/files/patch-contrib::Chaco::main::Gmsh_printf.cpp
@@ -0,0 +1,10 @@
+--- contrib/Chaco/main/Gmsh_printf.cpp-xxx 2009-07-20 16:52:04.000000000 -0500
++++ contrib/Chaco/main/Gmsh_printf.cpp 2009-07-20 16:52:15.000000000 -0500
+@@ -4,6 +4,7 @@
+ // bugs and problems to <gmsh@geuz.org>.
+
+ #include <cstring>
++#include <cstdio>
+ #include "GmshMessage.h"
+
+ // Overload the printf statements in Chaco to write using Msg::Direct in gmsh