pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ucommon iostream's constructor must have a strea...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb01ee47fe81
branches:  trunk
changeset: 650509:fb01ee47fe81
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 23 18:25:15 2015 +0000

description:
iostream's constructor must have a streambuf as argument, so provide
one.

diffstat:

 devel/ucommon/distinfo                        |   3 ++-
 devel/ucommon/patches/patch-commoncpp_tcp.cpp |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 0f49871c3b90 -r fb01ee47fe81 devel/ucommon/distinfo
--- a/devel/ucommon/distinfo    Thu Apr 23 18:23:46 2015 +0000
+++ b/devel/ucommon/distinfo    Thu Apr 23 18:25:15 2015 +0000
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.9 2015/04/18 02:43:24 rodent Exp $
+$NetBSD: distinfo,v 1.10 2015/04/23 18:25:15 joerg Exp $
 
 SHA1 (ucommon-6.3.1.tar.gz) = 82db4fda4b11589b0b02a2afb07a4f675edacfb9
 RMD160 (ucommon-6.3.1.tar.gz) = b58ac6dcd7b5e88fdc2e38703cddc9afd17175bf
 Size (ucommon-6.3.1.tar.gz) = 830661 bytes
+SHA1 (patch-commoncpp_tcp.cpp) = 312c1b4ee234852dcecb0ba2fbdf8813e7ca1704
 SHA1 (patch-commoncpp_udp.cpp) = 34607048d74a0c0142334179e43f481aa4affab7
 SHA1 (patch-configure) = 13335dcb186aa37a12e8dafcf64c077ccc543819
 SHA1 (patch-utils_keywait.cpp) = 003bc190393f0b1c3e052605136ef9cf50bddc40
diff -r 0f49871c3b90 -r fb01ee47fe81 devel/ucommon/patches/patch-commoncpp_tcp.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ucommon/patches/patch-commoncpp_tcp.cpp     Thu Apr 23 18:25:15 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-commoncpp_tcp.cpp,v 1.1 2015/04/23 18:25:15 joerg Exp $
+
+--- commoncpp/tcp.cpp.orig     2015-04-23 14:03:06.000000000 +0000
++++ commoncpp/tcp.cpp
+@@ -457,8 +457,8 @@ TCPStream::TCPStream(TCPV6Socket &server
+ #endif
+ 
+ TCPStream::TCPStream(const IPV4Host &host, tpport_t port, unsigned size, bool throwflag, timeout_t to) :
+-    streambuf(), Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)
+-    ,iostream(),
++    streambuf(), Socket(AF_INET, SOCK_STREAM, IPPROTO_TCP),
++    iostream((streambuf *)this),
+     bufsize(0),gbuf(NULL),pbuf(NULL) {
+     family = IPV4;
+     timeout = to;



Home | Main Index | Thread Index | Old Index