summaryrefslogtreecommitdiff
path: root/math/xgfe/files/patch-logScaleOp.cpp
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-logScaleOp.cpp
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-logScaleOp.cpp')
-rw-r--r--math/xgfe/files/patch-logScaleOp.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/math/xgfe/files/patch-logScaleOp.cpp b/math/xgfe/files/patch-logScaleOp.cpp
new file mode 100644
index 000000000000..0945fd6ad08c
--- /dev/null
+++ b/math/xgfe/files/patch-logScaleOp.cpp
@@ -0,0 +1,21 @@
+diff -u logScaleOp.cpp.orig logScaleOp.cpp
+--- logScaleOp.cpp.orig Tue Jul 21 04:18:45 1998
++++ logScaleOp.cpp Thu Oct 30 21:42:04 2003
+@@ -26,7 +26,7 @@
+ #include "logScaleOp.h"
+ #include <string>
+ #include <qstring.h>
+-#include <strstream.h>
++#include <sstream>
+
+ #define Inherited logScaleOpData
+
+@@ -65,7 +65,7 @@
+ x2Axis = gnuInt->getLogScaleX2Axis();
+ y2Axis = gnuInt->getLogScaleY2Axis();
+
+- ostrstream temp;
++ ostringstream temp;
+
+ temp << base << ends; // make sure to add terminator with ends, to avoid garbage
+ // from unterminated string