Index: head/net/xmlrpc-c/Makefile =================================================================== --- head/net/xmlrpc-c/Makefile (revision 499349) +++ head/net/xmlrpc-c/Makefile (revision 499350) @@ -1,67 +1,68 @@ # Created by: Ying-Chieh Liao # $FreeBSD$ PORTNAME= xmlrpc-c PORTVERSION= 1.51.03 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF/${PORTNAME}/Xmlrpc-c%20Super%20Stable/${PORTVERSION} MAINTAINER= garga@FreeBSD.org COMMENT= XML-RPC library for C and C++ LICENSE= BSD3CLAUSE USES= gmake pkgconfig tar:tgz OPTIONS_DEFINE= DEBUG CURL LIBWWW CPLUSPLUS OPTIONS_DEFAULT=CURL LIBWWW CPLUSPLUS LIBWWW_DESC= Compile with libwww support CPLUSPLUS_DESC= Build xmlrpc-c c++ libs and tools CONFLICTS= xmlrpc-epi-0.* OPTIONS_SUB= yes GNU_CONFIGURE= yes MAKEFILE= GNUmakefile MAKE_JOBS_UNSAFE= yes MAKE_ENV+= INSTALL_SHLIB="${INSTALL_LIB}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" USE_LDCONFIG= yes CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CONFIGURE_ENABLE= curl-client LIBWWW_USES= ssl LIBWWW_LIB_DEPENDS= libwwwcore.so:www/libwww \ libexpat.so:textproc/expat2 LIBWWW_CONFIGURE_ENABLE=libwww-client LIBWWW_CONFIGURE_WITH= libwww-ssl CPLUSPLUS_CONFIGURE_ENABLE= cplusplus LDFLAGS+= -lm .include .if empty(PORT_OPTIONS:MDEBUG) CFLAGS+= -DNDEBUG .endif .if empty(PORT_OPTIONS:MLIBWWW) && empty(PORT_OPTIONS:MCURL) PLIST_SUB+= CLIENT="@comment " .else PLIST_SUB+= CLIENT="" .endif post-extract: @${FIND} ${WRKSRC} -type l -name blddir -delete @${FIND} ${WRKSRC} -type l -name srcdir -delete post-patch: @${REINPLACE_CMD} -e '/#include.*features.h/ s/features.h/sys\/cdefs.h/' \ ${WRKSRC}/tools/xmlrpc_pstream/xmlrpc_pstream.cpp @${REINPLACE_CMD} -e '/define _XOPEN_SOURCE 600/ s,^,//,' \ ${WRKSRC}/src/xmlrpc_server_abyss.c @${REINPLACE_CMD} -e 's,sys/unistd.h,unistd.h,' \ ${WRKSRC}/test/cpp/server_abyss.cpp .include Index: head/net/xmlrpc-c/files/patch-src_cpp_value.cpp =================================================================== --- head/net/xmlrpc-c/files/patch-src_cpp_value.cpp (nonexistent) +++ head/net/xmlrpc-c/files/patch-src_cpp_value.cpp (revision 499350) @@ -0,0 +1,34 @@ +--- src/cpp/value.cpp.orig 2019-03-29 03:33:33 UTC ++++ src/cpp/value.cpp +@@ -1,4 +1,3 @@ +-#include + /***************************************************************************** + value.cpp + ****************************************************************************** +@@ -622,13 +621,9 @@ class cNewStringWrapper { (public) + + switch (nlCode) { + case value_string::nlCode_all: +- cerr << "Going to call xmlrpc_string_new_lp" << endl; +- cerr << "length = " << cppvalue.length() << ", value = " +- << cppvalue.c_str() << endl; + this->valueP = xmlrpc_string_new_lp(&env.env_c, + cppvalue.length(), + cppvalue.c_str()); +- cerr << "Back from xmlrpc_string_new_lp" << endl; + break; + case value_string::nlCode_lf: + this->valueP = xmlrpc_string_new_lp_cr(&env.env_c, +@@ -661,12 +656,9 @@ value_string::value_string(std::string const& + + value_string::value_string(std::string const& cppvalue) { + +- cerr << "value_string constructor entered" << endl; + cNewStringWrapper wrapper(cppvalue, nlCode_all); +- cerr << "wrapper constructed" << endl; + + this->instantiate(wrapper.valueP); +- cerr << "value_string constructor exiting" << endl; + } + + Property changes on: head/net/xmlrpc-c/files/patch-src_cpp_value.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/xmlrpc-c/files/patch-src_xmlrpc__string.c =================================================================== --- head/net/xmlrpc-c/files/patch-src_xmlrpc__string.c (nonexistent) +++ head/net/xmlrpc-c/files/patch-src_xmlrpc__string.c (revision 499350) @@ -0,0 +1,31 @@ +--- src/xmlrpc_string.c.orig 2019-03-29 03:33:33 UTC ++++ src/xmlrpc_string.c +@@ -1,4 +1,3 @@ +-#include + /*============================================================================= + xmlrpc_string + =============================================================================== +@@ -746,15 +745,12 @@ stringNew(xmlrpc_env * const envP, + enum crTreatment const crTreatment, + xmlrpc_value ** const valPP) { + +- fprintf(stderr, "stringNew entered\n"); + xmlrpc_value * valP; + + xmlrpc_validate_utf8(envP, value, length); + + if (!envP->fault_occurred) { +- fprintf(stderr, "Going to xmlrpc_createXmlrpcValue\n"); + xmlrpc_createXmlrpcValue(envP, &valP); +- fprintf(stderr, "Back from createXmlrpcValue\n"); + + if (!envP->fault_occurred) { + valP->_type = XMLRPC_TYPE_STRING; +@@ -774,7 +770,6 @@ stringNew(xmlrpc_env * const envP, + *valPP = valP; + } + } +- fprintf(stderr, "stringNew exiting\n"); + } + + Property changes on: head/net/xmlrpc-c/files/patch-src_xmlrpc__string.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property