pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/xmlrpc-c A few changes so that this builds on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/61c4e3c7e6de
branches:  trunk
changeset: 402613:61c4e3c7e6de
user:      he <he%pkgsrc.org@localhost>
date:      Sat Oct 12 22:57:08 2019 +0000

description:
A few changes so that this builds on NetBSD/macppc:
 * Don't assume that "char" is signed (array init'ed with -1 cells),
   so use "int" instead.
 * Add dependency on libidn2, since I otherwise got a link error.
Bump PKGREVISION.

diffstat:

 textproc/xmlrpc-c/Makefile                         |   5 +++--
 textproc/xmlrpc-c/distinfo                         |   3 ++-
 textproc/xmlrpc-c/patches/patch-src_cpp_base64.cpp |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (56 lines):

diff -r 03572202ade7 -r 61c4e3c7e6de textproc/xmlrpc-c/Makefile
--- a/textproc/xmlrpc-c/Makefile        Sat Oct 12 21:54:19 2019 +0000
+++ b/textproc/xmlrpc-c/Makefile        Sat Oct 12 22:57:08 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.51 2019/08/22 12:23:51 ryoon Exp $
+# $NetBSD: Makefile,v 1.52 2019/10/12 22:57:08 he Exp $
 
 DISTNAME=      xmlrpc-c-1.25.26
 # the "super stable" branch
 PKGNAME=       ${DISTNAME:S/-c-/-c-ss-/}
-PKGREVISION=   13
+PKGREVISION=   14
 CATEGORIES=    textproc devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=xmlrpc-c/}
 EXTRACT_SUFX=  .tgz
@@ -61,5 +61,6 @@
 .include "../../textproc/expat/buildlink3.mk"
 .include "../../www/curl/buildlink3.mk"
 .include "../../www/libwww/buildlink3.mk"
+.include "../../devel/libidn2/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 03572202ade7 -r 61c4e3c7e6de textproc/xmlrpc-c/distinfo
--- a/textproc/xmlrpc-c/distinfo        Sat Oct 12 21:54:19 2019 +0000
+++ b/textproc/xmlrpc-c/distinfo        Sat Oct 12 22:57:08 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.32 2015/11/04 02:00:16 agc Exp $
+$NetBSD: distinfo,v 1.33 2019/10/12 22:57:08 he Exp $
 
 SHA1 (xmlrpc-c-1.25.26.tgz) = 62b8b7b76b2937b2f3d51be045cbf17476302d39
 RMD160 (xmlrpc-c-1.25.26.tgz) = 86096117f8e26321c38539eff83cdf0f64055e47
@@ -11,4 +11,5 @@
 SHA1 (patch-aj) = e65acd3d49be3486f70cda935a8b2aae3f8af3e8
 SHA1 (patch-ak) = 4525977b51a25f115c1266dccf0e2cc754dc80d3
 SHA1 (patch-config.mk.in) = e3eef60ab28b92d1e903ac84997617dfafe1689c
+SHA1 (patch-src_cpp_base64.cpp) = a51ad8cc8f41d724310eaaea86ebaaa8de610498
 SHA1 (patch-src_cpp_server_pstream.cpp) = 2a6b2f30ab5f9df1953f874ede41b91bd60a005a
diff -r 03572202ade7 -r 61c4e3c7e6de textproc/xmlrpc-c/patches/patch-src_cpp_base64.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/xmlrpc-c/patches/patch-src_cpp_base64.cpp        Sat Oct 12 22:57:08 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_cpp_base64.cpp,v 1.1 2019/10/12 22:57:08 he Exp $
+
+Don't assume that "char" is signed.
+
+--- src/cpp/base64.cpp.orig    2010-05-20 22:57:38.000000000 +0000
++++ src/cpp/base64.cpp
+@@ -14,7 +14,7 @@ using namespace xmlrpc_c;
+ 
+ namespace {
+ 
+-char const table_a2b_base64[] = {
++int const table_a2b_base64[] = {
+     -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
+     -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,-1,
+     -1,-1,-1,-1, -1,-1,-1,-1, -1,-1,-1,62, -1,-1,-1,63,



Home | Main Index | Thread Index | Old Index