summaryrefslogtreecommitdiff
path: root/news/PicMonger/files/patch-FileTypeState.cpp
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-12-02 13:05:53 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-12-02 13:05:53 +0000
commita3cd942cb82d1eb1b3b971fae8c376ce13f82673 (patch)
treed3b706e0d6df57f2548f4b3db989b38b57ef8681 /news/PicMonger/files/patch-FileTypeState.cpp
parentDisable Fortran 90 module while gfortran is broken. (diff)
- Unbreak: fix build on 5.X and above
PR: ports/106201 Submitted by: Peter Johnson <johnson.peter@gmail.com>
Notes
Notes: svn path=/head/; revision=178584
Diffstat (limited to 'news/PicMonger/files/patch-FileTypeState.cpp')
-rw-r--r--news/PicMonger/files/patch-FileTypeState.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/news/PicMonger/files/patch-FileTypeState.cpp b/news/PicMonger/files/patch-FileTypeState.cpp
new file mode 100644
index 000000000000..1b39e8d6c9ca
--- /dev/null
+++ b/news/PicMonger/files/patch-FileTypeState.cpp
@@ -0,0 +1,14 @@
+--- FileTypeState.cpp.orig Tue Apr 18 21:22:46 2000
++++ FileTypeState.cpp Fri Dec 1 22:45:01 2006
+@@ -21,6 +21,11 @@
+ #include <fstream>
+ #include <stdlib.h> // need getenv()
+
++using std::ofstream;
++using std::ifstream;
++using std::ios;
++using std::flush;
++
+ // Implemented as a Singleton to simplify access from both filetype dialog and
+ // newsscanner without having to maintain references to each other
+