diff options
author | sem <sem@FreeBSD.org> | 2005-03-10 22:57:18 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-03-10 22:57:18 +0800 |
commit | df6d5b0d13c881b27f28333902eb3bf5ebf1015e (patch) | |
tree | 26c3b098304ce42269f280ae29e56db8e53e1cf4 | |
parent | 352f35c0841150e852a4f9d972749bb77a2241eb (diff) | |
download | freebsd-ports-gnome-df6d5b0d13c881b27f28333902eb3bf5ebf1015e.tar.gz freebsd-ports-gnome-df6d5b0d13c881b27f28333902eb3bf5ebf1015e.tar.zst freebsd-ports-gnome-df6d5b0d13c881b27f28333902eb3bf5ebf1015e.zip |
- Smoother way to fix it on 64 bit platforms
-rw-r--r-- | devel/flowdesigner/files/patch-SocketStream.h | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/devel/flowdesigner/files/patch-SocketStream.h b/devel/flowdesigner/files/patch-SocketStream.h index 9ec3486f2d49..fe24c510579f 100644 --- a/devel/flowdesigner/files/patch-SocketStream.h +++ b/devel/flowdesigner/files/patch-SocketStream.h @@ -1,17 +1,11 @@ ---- data-flow/include/SocketStream.h.orig Mon Apr 19 11:58:32 2004 -+++ data-flow/include/SocketStream.h Mon Apr 19 11:58:51 2004 -@@ -5,13 +5,13 @@ - //Dominic Letourneau 03/10/2001 +--- data-flow/src/SocketStream.cc.orig Thu Aug 26 18:31:31 2004 ++++ data-flow/src/SocketStream.cc Thu Mar 10 17:36:08 2005 +@@ -190,7 +190,7 @@ - #include <stddef.h> -+#include <sys/types.h> - #include <sys/socket.h> - #include <netinet/in.h> - #include "Object.h" - #include "net_types.h" - #include <iostream> - #include <stdio.h> --#include <sys/types.h> - #include <sys/stat.h> - #include <fcntl.h> + size_t packet_len = 0; + unsigned int flags = 0; +- size_t addr_len = sizeof(m_read_addr); ++ socklen_t addr_len = sizeof(m_read_addr); + switch (m_type) { + case BROADCAST_TYPE: |