svn commit: r499350 - in head/net/xmlrpc-c: . files

Renato Botelho garga at FreeBSD.org
Fri Apr 19 12:56:55 UTC 2019


Author: garga
Date: Fri Apr 19 12:56:53 2019
New Revision: 499350
URL: https://svnweb.freebsd.org/changeset/ports/499350

Log:
  net/xmlrpc-c: Remove trace messages accidentally added on last super-stable
  version
  
  PR:		237194
  Submitted by:	raivo.hool at gmail.com
  Obtained from:	https://sourceforge.net/p/xmlrpc-c/code/2981/
  MFH:		2019Q2
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Added:
  head/net/xmlrpc-c/files/patch-src_cpp_value.cpp   (contents, props changed)
  head/net/xmlrpc-c/files/patch-src_xmlrpc__string.c   (contents, props changed)
Modified:
  head/net/xmlrpc-c/Makefile

Modified: head/net/xmlrpc-c/Makefile
==============================================================================
--- head/net/xmlrpc-c/Makefile	Fri Apr 19 12:36:39 2019	(r499349)
+++ head/net/xmlrpc-c/Makefile	Fri Apr 19 12:56:53 2019	(r499350)
@@ -3,6 +3,7 @@
 
 PORTNAME=	xmlrpc-c
 PORTVERSION=	1.51.03
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/${PORTNAME}/Xmlrpc-c%20Super%20Stable/${PORTVERSION}
 

Added: head/net/xmlrpc-c/files/patch-src_cpp_value.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/xmlrpc-c/files/patch-src_cpp_value.cpp	Fri Apr 19 12:56:53 2019	(r499350)
@@ -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 <iostream>
+ /*****************************************************************************
+                                 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;
+ }
+ 
+ 

Added: head/net/xmlrpc-c/files/patch-src_xmlrpc__string.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/xmlrpc-c/files/patch-src_xmlrpc__string.c	Fri Apr 19 12:56:53 2019	(r499350)
@@ -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 <stdio.h>
+ /*=============================================================================
+                               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");
+ }
+ 
+ 


More information about the svn-ports-all mailing list