pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xmlrpc-c Resolve conflict with STL.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95528305af33
branches:  trunk
changeset: 345804:95528305af33
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 18 12:43:40 2019 +0000

description:
Resolve conflict with STL.

diffstat:

 textproc/xmlrpc-c/distinfo                                 |   3 +-
 textproc/xmlrpc-c/patches/patch-test_cpp_server__abyss.cpp |  15 ++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 17289891a823 -r 95528305af33 textproc/xmlrpc-c/distinfo
--- a/textproc/xmlrpc-c/distinfo        Wed Dec 18 12:42:04 2019 +0000
+++ b/textproc/xmlrpc-c/distinfo        Wed Dec 18 12:43:40 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.35 2019/10/29 09:06:12 he Exp $
+$NetBSD: distinfo,v 1.36 2019/12/18 12:43:40 joerg Exp $
 
 SHA1 (xmlrpc-c-1.51.04.tgz) = 0c085e210d07b2e2d8ce877e24c370a7b3df2074
 RMD160 (xmlrpc-c-1.51.04.tgz) = c85a1ec7bdf5bb4a49b8d0445b7ab1a94b53bd66
@@ -8,6 +8,7 @@
 SHA1 (patch-common.mk) = c11a9a69b45d28d79b2baac681a6e3c077664683
 SHA1 (patch-config.mk.in) = 0456837827c71824aa39914086e466a494038dc8
 SHA1 (patch-src_cpp_server__pstream.cpp) = 0b28182c56bb326bf24ac031874521b1bb6d5ef5
+SHA1 (patch-test_cpp_server__abyss.cpp) = 587375211ebe732caf101f5d076d5ca3149f5ded
 SHA1 (patch-tools_xml-rpc-api2cpp_Makefile) = 6b6b3f24a247856d61284cdbb4ecc21eb436d3a0
 SHA1 (patch-tools_xmlrpc_Makefile) = 92428282885a2b66ce89d629a0a7a9167715a334
 SHA1 (patch-tools_xmlrpc__transport_Makefile) = a5fd2fd98acceae4832d0dbfc9849f16401975e4
diff -r 17289891a823 -r 95528305af33 textproc/xmlrpc-c/patches/patch-test_cpp_server__abyss.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xmlrpc-c/patches/patch-test_cpp_server__abyss.cpp        Wed Dec 18 12:43:40 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-test_cpp_server__abyss.cpp,v 1.1 2019/12/18 12:43:40 joerg Exp $
+
+The socket function, not the generic function call STL method.
+
+--- test/cpp/server_abyss.cpp.orig     2019-12-17 01:07:01.776470052 +0000
++++ test/cpp/server_abyss.cpp
+@@ -85,7 +85,7 @@ public:
+         sockAddr.sin_port   = htons(portNumber);
+         sockAddr.sin_addr.s_addr = 0;
+ 
+-        rc = bind(this->fd, (struct sockaddr *)&sockAddr, sizeof(sockAddr));
++        rc = ::bind(this->fd, (struct sockaddr *)&sockAddr, sizeof(sockAddr));
+         
+         if (rc != 0) {
+             closesock(this->fd);



Home | Main Index | Thread Index | Old Index