diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-29 17:12:47 +0000 |
commit | 08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch) | |
tree | 0cfc4f0736babb895eb97a65c6defe632a0249c7 /net-mgmt/cflowd/files/patch-classes__include__CflowdNetMatrixKey.hh | |
parent | editors/fte: update to 20110708 (diff) |
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes:
svn path=/head/; revision=363362
Diffstat (limited to 'net-mgmt/cflowd/files/patch-classes__include__CflowdNetMatrixKey.hh')
-rw-r--r-- | net-mgmt/cflowd/files/patch-classes__include__CflowdNetMatrixKey.hh | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/net-mgmt/cflowd/files/patch-classes__include__CflowdNetMatrixKey.hh b/net-mgmt/cflowd/files/patch-classes__include__CflowdNetMatrixKey.hh new file mode 100644 index 000000000000..624fd85175ba --- /dev/null +++ b/net-mgmt/cflowd/files/patch-classes__include__CflowdNetMatrixKey.hh @@ -0,0 +1,37 @@ +--- classes/include/CflowdNetMatrixKey.hh.orig Fri Jun 15 16:36:13 2007 ++++ classes/include/CflowdNetMatrixKey.hh Fri Jun 15 16:45:41 2007 +@@ -53,8 +53,10 @@ + } + + #include <map> ++#include <strstream> + + #include "ArtsPrimitive.hh" ++using namespace std; + + extern ArtsPrimitive g_CfdArtsPrimitive; + +@@ -191,9 +193,9 @@ + inline istream & read(istream & is) + { + g_CfdArtsPrimitive.ReadIpv4Network(is,this->_src,sizeof(this->_src)); +- is.read(&(this->_srcMaskLen),sizeof(this->_srcMaskLen)); ++ is.read((char *)&(this->_srcMaskLen),sizeof(this->_srcMaskLen)); + g_CfdArtsPrimitive.ReadIpv4Network(is,this->_dst,sizeof(this->_dst)); +- is.read(&(this->_dstMaskLen),sizeof(this->_dstMaskLen)); ++ is.read((char *)&(this->_dstMaskLen),sizeof(this->_dstMaskLen)); + + return(is); + } +@@ -263,9 +265,9 @@ + inline ostream & write(ostream & os) const + { + g_CfdArtsPrimitive.WriteIpv4Network(os,this->_src,sizeof(this->_src)); +- os.write(&(this->_srcMaskLen),sizeof(this->_srcMaskLen)); ++ os.write((char *)&(this->_srcMaskLen),sizeof(this->_srcMaskLen)); + g_CfdArtsPrimitive.WriteIpv4Network(os,this->_dst,sizeof(this->_dst)); +- os.write(&(this->_dstMaskLen),sizeof(this->_dstMaskLen)); ++ os.write((char *)&(this->_dstMaskLen),sizeof(this->_dstMaskLen)); + return(os); + } + |