diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-20 21:07:52 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-20 21:07:52 +0000 |
commit | 42f82ca6c005fd07dd0ee69e3d3c31e91ec1045e (patch) | |
tree | 39b4daa2232eefd9eba9d98887d29f62b9aa90de /net/netmap/files/patch-belgolib::files.h | |
parent | 1. disable sending report and unforbid openwebmail (diff) |
Make net/netmap building on -current again
PR: ports/46267
Submitted by: Kuang-che Wu <kcwu@kcwu.dyndns.org>
Diffstat (limited to 'net/netmap/files/patch-belgolib::files.h')
-rw-r--r-- | net/netmap/files/patch-belgolib::files.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net/netmap/files/patch-belgolib::files.h b/net/netmap/files/patch-belgolib::files.h new file mode 100644 index 000000000000..b62a4ab709b6 --- /dev/null +++ b/net/netmap/files/patch-belgolib::files.h @@ -0,0 +1,19 @@ +--- belgolib/files.h.orig Sun Dec 15 14:54:27 2002 ++++ belgolib/files.h Sun Dec 15 14:54:27 2002 +@@ -1,4 +1,5 @@ + #include <fstream> ++using namespace std; + + #ifndef __make_dep__ + #include <string> //makedepend bug +@@ -15,8 +16,8 @@ + class Infile : public ifstream { + public: + Infile(); +- Infile(const string &, int mode=ios::in, bool=false); +- int Open(const string &, int mode=ios::in, bool=false); ++ Infile(const string &, ios::openmode mode=ios::in, bool=false); ++ int Open(const string &, ios::openmode mode=ios::in, bool=false); + + protected: + int check_open() const; |