diff options
author | ale <ale@FreeBSD.org> | 2007-01-27 18:49:01 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2007-01-27 18:49:01 +0800 |
commit | f6b20b61b6cf02b1886c8c00b450c08a6ba55c80 (patch) | |
tree | daec26c72611f7449f55e86724f665fb75ec7232 /net | |
parent | 0985ed51f44a878d4f4e6f714d8a52f9f33cd5ab (diff) | |
download | freebsd-ports-gnome-f6b20b61b6cf02b1886c8c00b450c08a6ba55c80.tar.gz freebsd-ports-gnome-f6b20b61b6cf02b1886c8c00b450c08a6ba55c80.tar.zst freebsd-ports-gnome-f6b20b61b6cf02b1886c8c00b450c08a6ba55c80.zip |
Patches for gcc4.
Diffstat (limited to 'net')
-rw-r--r-- | net/portfwd/files/patch-src_proto_map.cc | 16 | ||||
-rw-r--r-- | net/portfwd/files/patch-src_proto_map.hpp | 13 |
2 files changed, 29 insertions, 0 deletions
diff --git a/net/portfwd/files/patch-src_proto_map.cc b/net/portfwd/files/patch-src_proto_map.cc new file mode 100644 index 000000000000..295d41c475d9 --- /dev/null +++ b/net/portfwd/files/patch-src_proto_map.cc @@ -0,0 +1,16 @@ +--- src/proto_map.cc.orig Sat Jan 27 11:44:09 2007 ++++ src/proto_map.cc Sat Jan 27 11:46:42 2007 +@@ -16,11 +16,11 @@ + map_list = map_l; + fragile = 0; /* false */ + +- ftp_actv = (int) actv; ++ ftp_actv = (long) actv; + if (ftp_actv) + actv_ip = *actv; + +- ftp_pasv = (int) pasv; ++ ftp_pasv = (long) pasv; + if (ftp_pasv) + pasv_ip = *pasv; + diff --git a/net/portfwd/files/patch-src_proto_map.hpp b/net/portfwd/files/patch-src_proto_map.hpp new file mode 100644 index 000000000000..99838771b1bf --- /dev/null +++ b/net/portfwd/files/patch-src_proto_map.hpp @@ -0,0 +1,13 @@ +--- src/proto_map.hpp.orig Sat Jan 27 11:45:32 2007 ++++ src/proto_map.hpp Sat Jan 27 11:46:08 2007 +@@ -16,8 +16,8 @@ + private: + vector<int> *port_list; + vector<host_map*> *map_list; +- int ftp_actv; +- int ftp_pasv; ++ long ftp_actv; ++ long ftp_pasv; + struct ip_addr actv_ip; + struct ip_addr pasv_ip; + int uid; |