pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/xmlrpc-c



Module Name:    pkgsrc
Committed By:   he
Date:           Sat Oct 12 22:57:08 UTC 2019

Modified Files:
        pkgsrc/textproc/xmlrpc-c: Makefile distinfo
Added Files:
        pkgsrc/textproc/xmlrpc-c/patches: patch-src_cpp_base64.cpp

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/textproc/xmlrpc-c/Makefile
cvs rdiff -u -r1.32 -r1.33 pkgsrc/textproc/xmlrpc-c/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_base64.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/xmlrpc-c/Makefile
diff -u pkgsrc/textproc/xmlrpc-c/Makefile:1.51 pkgsrc/textproc/xmlrpc-c/Makefile:1.52
--- pkgsrc/textproc/xmlrpc-c/Makefile:1.51      Thu Aug 22 12:23:51 2019
+++ pkgsrc/textproc/xmlrpc-c/Makefile   Sat Oct 12 22:57:08 2019
@@ -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 @@ LDFLAGS.MirBSD+=      ${PTHREAD_LINKFLAGS}
 .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"

Index: pkgsrc/textproc/xmlrpc-c/distinfo
diff -u pkgsrc/textproc/xmlrpc-c/distinfo:1.32 pkgsrc/textproc/xmlrpc-c/distinfo:1.33
--- pkgsrc/textproc/xmlrpc-c/distinfo:1.32      Wed Nov  4 02:00:16 2015
+++ pkgsrc/textproc/xmlrpc-c/distinfo   Sat Oct 12 22:57:08 2019
@@ -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-ai) = 8d7ddc541779129de1e03a
 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

Added files:

Index: pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_base64.cpp
diff -u /dev/null pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_base64.cpp:1.1
--- /dev/null   Sat Oct 12 22:57:08 2019
+++ pkgsrc/textproc/xmlrpc-c/patches/patch-src_cpp_base64.cpp   Sat Oct 12 22:57:08 2019
@@ -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