diff --git a/xmlrpc-c-default-constructor.patch b/xmlrpc-c-default-constructor.patch new file mode 100644 index 0000000..e59baeb --- /dev/null +++ b/xmlrpc-c-default-constructor.patch @@ -0,0 +1,29 @@ +From 3047dab03a91b5f63f6dee481f9eda69e044adfa Mon Sep 17 00:00:00 2001 +From: Enrico Scholz +Date: Sat, 2 Apr 2011 15:29:47 +0200 +Subject: [PATCH] added default constructor + +fixes + +| src/cpp/registry.cpp: In member function 'virtual void xmlrpc_c::method2::execute(const xmlrpc_c::paramList&, xmlrpc_c::value*)': +| src/cpp/registry.cpp:73:20: error: uninitialized const 'nullCallInfo' [-fpermissive] +| include/xmlrpc-c/registry.hpp:17:24: note: 'const class xmlrpc_c::callInfo' has no user-provided default constructor +--- + include/xmlrpc-c/registry.hpp | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/include/xmlrpc-c/registry.hpp b/include/xmlrpc-c/registry.hpp +index 81db5b0..a08dbdd 100644 +--- a/include/xmlrpc-c/registry.hpp ++++ b/include/xmlrpc-c/registry.hpp +@@ -24,6 +24,7 @@ class XMLRPC_DLLEXPORT callInfo { + information pertinent to that kind of server. + -----------------------------------------------------------------------------*/ + public: ++ callInfo() {}; + virtual ~callInfo() {}; // This makes it polymorphic + }; + +-- +1.7.4 + diff --git a/xmlrpc-c.spec b/xmlrpc-c.spec index f680b28..c7fb7e9 100644 --- a/xmlrpc-c.spec +++ b/xmlrpc-c.spec @@ -28,6 +28,7 @@ Patch107: xmlrpc-c-uninit-curl.patch Patch108: xmlrpc-c-30x-redirect.patch Patch109: xmlrpc-c-check-vasprintf-return-value.patch Patch110: xmlrpc-c-include-string_int.h.patch +Patch111: xmlrpc-c-default-constructor.patch BuildRoot: %_tmppath/%name-%version-%release-root @@ -117,6 +118,7 @@ This package contains some handy XML-RPC demo applications. %patch108 -p1 %patch109 -p1 %patch110 -p1 +%patch111 -p1 ## not needed... rm doc/{INSTALL,configure_doc}