diff options
Diffstat (limited to 'dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch')
-rw-r--r-- | dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch new file mode 100644 index 0000000..86b048e --- /dev/null +++ b/dev-libs/xmlrpc-c/files/xmlrpc-c-1.16.08/0003-Fix-compilation-of-xmlrpc_pstream-with-gcc-4.3.patch @@ -0,0 +1,32 @@ +From 20bac6d6419bae95fdad1734e48302e7545dd7c5 Mon Sep 17 00:00:00 2001 +From: Peter Alfredsen <loki_val@gentoo.org> +Date: Thu, 22 Jan 2009 13:25:56 +0100 +Subject: [PATCH 03/10] Fix compilation of xmlrpc_pstream with gcc-4.3+ + +--- + tools/xmlrpc_pstream/xmlrpc_pstream.cpp | 7 ++++--- + 1 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/tools/xmlrpc_pstream/xmlrpc_pstream.cpp b/tools/xmlrpc_pstream/xmlrpc_pstream.cpp +index 399e1b3..df4ef56 100644 +--- a/tools/xmlrpc_pstream/xmlrpc_pstream.cpp ++++ b/tools/xmlrpc_pstream/xmlrpc_pstream.cpp +@@ -3,11 +3,12 @@ + #include <string> + #include <vector> + #include <list> +-#include <string.h> +-#include <stdio.h> +-#include <stdlib.h> ++#include <cstring> ++#include <cstdio> ++#include <cstdlib> + #include <unistd.h> + #include <signal.h> ++#include <iostream> + #include <readline/readline.h> + + #include "cmdline_parser.hpp" +-- +1.6.1 + |