summaryrefslogtreecommitdiff
path: root/math/xgfe/files/patch-gnuInterface.h
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-03-06 22:57:48 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-03-06 22:57:48 +0000
commitd3c24d35b28931a1a81edb37b2ecb04497bb5402 (patch)
tree1c57506bdf87ab09eb437aa066de64bc51f30549 /math/xgfe/files/patch-gnuInterface.h
parentThe hostsentry port is unusable as shipped and requires additional (diff)
Update to xgfe 2.1, switch to QT 3, respect NOPORTDOCS, fix build
with gcc 3. Submitted by: Marius Strobl <marius@alchemy.franken.de> PR: ports/59024
Notes
Notes: svn path=/head/; revision=103143
Diffstat (limited to 'math/xgfe/files/patch-gnuInterface.h')
-rw-r--r--math/xgfe/files/patch-gnuInterface.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/math/xgfe/files/patch-gnuInterface.h b/math/xgfe/files/patch-gnuInterface.h
new file mode 100644
index 000000000000..7ceaaf4f7938
--- /dev/null
+++ b/math/xgfe/files/patch-gnuInterface.h
@@ -0,0 +1,24 @@
+diff -u gnuInterface.h.orig gnuInterface.h
+--- gnuInterface.h.orig Wed Sep 30 04:26:59 1998
++++ gnuInterface.h Thu Oct 30 21:42:04 2003
+@@ -35,15 +35,17 @@
+ #define gnuInterface_included
+
+ #include <string>
+-#include <iostream.h>
+-#include <fstream.h>
+-#include <strstream.h>
++#include <iostream>
++#include <fstream>
++#include <sstream>
+ #include <stdio.h>
+ #include "gnuPlotFile.h"
+ #include "gnuPlotFunction.h"
+ #include "gnuMultiFile.h"
+ #include "gnuMultiFunc.h"
+ #include "gnuCurveFit.h"
++
++using namespace std;
+
+ class gnuInterface
+ {