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-netmap::netmap.c | |
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-netmap::netmap.c')
-rw-r--r-- | net/netmap/files/patch-netmap::netmap.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/netmap/files/patch-netmap::netmap.c b/net/netmap/files/patch-netmap::netmap.c new file mode 100644 index 000000000000..9cb6b449815f --- /dev/null +++ b/net/netmap/files/patch-netmap::netmap.c @@ -0,0 +1,20 @@ +--- netmap/netmap.c.orig Sun Dec 15 14:54:26 2002 ++++ netmap/netmap.c Sun Dec 15 14:54:26 2002 +@@ -32,7 +32,7 @@ + + int count_invalid_hosts(const string& fname) + { +- Infile inf(fname, ios::bin | ios::in); ++ Infile inf(fname, ios::binary | ios::in); + + int invalid_hosts = 0; + int invalid_left = 0; +@@ -60,7 +60,7 @@ + const int num_invalid_hosts = + (keep_reading?count_invalid_hosts(fname):0); + +- Infile inf(fname, ios::bin | ios::in); ++ Infile inf(fname, ios::binary | ios::in); + + int mark_first = 1; + string prev_addr = inv_ip; |