diff options
author | Volker Stolz <vs@FreeBSD.org> | 2005-04-24 14:51:35 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2005-04-24 14:51:35 +0000 |
commit | eb1a35f08a4346902eb04e2d334b903514cc7226 (patch) | |
tree | 168ec0b8904ac0b19648a1eb50d12bbfeb26b7b8 /devel/flowdesigner | |
parent | 73d186434c44f4975525950f283838829977e58d (diff) |
Unbreak (at least on 4.11). Also, merge two patches to same file but contained
in two different patch-files where one even had a misleading name.
Notes
Notes:
svn path=/head/; revision=134063
Diffstat (limited to 'devel/flowdesigner')
-rw-r--r-- | devel/flowdesigner/files/patch-SocketStream.h | 24 | ||||
-rw-r--r-- | devel/flowdesigner/files/patch-data-flow_src_SocketStream.cc | 12 |
2 files changed, 24 insertions, 12 deletions
diff --git a/devel/flowdesigner/files/patch-SocketStream.h b/devel/flowdesigner/files/patch-SocketStream.h index fe24c510579f..7da457249ec0 100644 --- a/devel/flowdesigner/files/patch-SocketStream.h +++ b/devel/flowdesigner/files/patch-SocketStream.h @@ -1,11 +1,17 @@ ---- 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 @@ +--- data-flow/include/SocketStream.h.orig ++++ data-flow/include/SocketStream.h +@@ -5,13 +5,13 @@ + //Dominic Letourneau 03/10/2001 - 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); + #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> - switch (m_type) { - case BROADCAST_TYPE: diff --git a/devel/flowdesigner/files/patch-data-flow_src_SocketStream.cc b/devel/flowdesigner/files/patch-data-flow_src_SocketStream.cc index e12d149d4934..4c27b4deebe7 100644 --- a/devel/flowdesigner/files/patch-data-flow_src_SocketStream.cc +++ b/devel/flowdesigner/files/patch-data-flow_src_SocketStream.cc @@ -1,6 +1,12 @@ ---- data-flow/src/SocketStream.cc.orig Tue Mar 8 18:52:37 2005 -+++ data-flow/src/SocketStream.cc Tue Mar 8 18:21:43 2005 -@@ -195,7 +195,7 @@ size_t network_socket::recv_packet(unsig +--- data-flow/src/SocketStream.cc.orig Sun Apr 24 15:16:43 2005 ++++ data-flow/src/SocketStream.cc Sun Apr 24 15:16:32 2005 +@@ -190,12 +190,12 @@ + + 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: |