X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=blobdiff_plain;f=xmlrpc-c-va_list.patch;fp=xmlrpc-c-va_list.patch;h=0000000000000000000000000000000000000000;hb=3671422b8b6042fd615233d28e21083f2efe805c;hp=d7a7fc6cd34785f38ca1ff657323677793e0b284;hpb=8e5ab56c38866ac280a4c44d0686717f52f51a6e;p=packages%2Fxmlrpc-c.git diff --git a/xmlrpc-c-va_list.patch b/xmlrpc-c-va_list.patch deleted file mode 100644 index d7a7fc6..0000000 --- a/xmlrpc-c-va_list.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 009465f70f4941968f0f8abbbc7e0ba9252f68b5 Mon Sep 17 00:00:00 2001 -From: Enrico Scholz -Date: Sat, 15 Nov 2008 12:07:25 +0100 -Subject: [PATCH 4/6] 'va_list' param must be non-const - -vasprintf(3) uses a non-const 'va_list ap' parameter. -Hence, do not accept a 'const' on in the wrapper function. ---- - include/xmlrpc-c/util.h | 2 +- - lib/libutil/error.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/include/xmlrpc-c/util.h b/include/xmlrpc-c/util.h -index 30689bc..777ee01 100644 ---- a/include/xmlrpc-c/util.h -+++ b/include/xmlrpc-c/util.h -@@ -140,7 +140,7 @@ void - xmlrpc_set_fault_formatted_v(xmlrpc_env * const envP, - int const code, - const char * const format, -- va_list const args); -+ va_list args); - - /* The same as the above, but using a printf-style format string. */ - void -diff --git a/lib/libutil/error.c b/lib/libutil/error.c -index 02e66c9..1e0ab12 100644 ---- a/lib/libutil/error.c -+++ b/lib/libutil/error.c -@@ -88,7 +88,7 @@ void - xmlrpc_set_fault_formatted_v(xmlrpc_env * const envP, - int const code, - const char * const format, -- va_list const args) { -+ va_list args) { - - const char * faultDescription; - --- -1.6.5.2 -