made it build with recent curl
This commit is contained in:
parent
073698a54c
commit
d4aaad0037
51
xmlrpc-c-curl-types.h.patch
Normal file
51
xmlrpc-c-curl-types.h.patch
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
From 167f1ae31f84c34fbf6406cdd0cc20eb9c9d0916 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
||||||
|
Date: Mon, 27 Jun 2011 21:07:18 +0200
|
||||||
|
Subject: [PATCH 9/9] do not include <curl/types.h> anymore
|
||||||
|
|
||||||
|
header file was removed in 7.21.7 and was empty since 2004.
|
||||||
|
---
|
||||||
|
lib/curl_transport/curlmulti.c | 1 -
|
||||||
|
lib/curl_transport/curltransaction.c | 1 -
|
||||||
|
lib/curl_transport/xmlrpc_curl_transport.c | 1 -
|
||||||
|
3 files changed, 0 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/lib/curl_transport/curlmulti.c b/lib/curl_transport/curlmulti.c
|
||||||
|
index 8f985de..dbb5820 100644
|
||||||
|
--- a/lib/curl_transport/curlmulti.c
|
||||||
|
+++ b/lib/curl_transport/curlmulti.c
|
||||||
|
@@ -19,7 +19,6 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <curl/curl.h>
|
||||||
|
-#include <curl/types.h>
|
||||||
|
#include <curl/easy.h>
|
||||||
|
#include <curl/multi.h>
|
||||||
|
|
||||||
|
diff --git a/lib/curl_transport/curltransaction.c b/lib/curl_transport/curltransaction.c
|
||||||
|
index 061392b..774be8b 100644
|
||||||
|
--- a/lib/curl_transport/curltransaction.c
|
||||||
|
+++ b/lib/curl_transport/curltransaction.c
|
||||||
|
@@ -17,7 +17,6 @@
|
||||||
|
#include "version.h"
|
||||||
|
|
||||||
|
#include <curl/curl.h>
|
||||||
|
-#include <curl/types.h>
|
||||||
|
#include <curl/easy.h>
|
||||||
|
|
||||||
|
#include "curlversion.h"
|
||||||
|
diff --git a/lib/curl_transport/xmlrpc_curl_transport.c b/lib/curl_transport/xmlrpc_curl_transport.c
|
||||||
|
index fe705b9..1504cc9 100644
|
||||||
|
--- a/lib/curl_transport/xmlrpc_curl_transport.c
|
||||||
|
+++ b/lib/curl_transport/xmlrpc_curl_transport.c
|
||||||
|
@@ -85,7 +85,6 @@
|
||||||
|
#include "xmlrpc-c/time_int.h"
|
||||||
|
|
||||||
|
#include <curl/curl.h>
|
||||||
|
-#include <curl/types.h>
|
||||||
|
#include <curl/easy.h>
|
||||||
|
#include <curl/multi.h>
|
||||||
|
|
||||||
|
--
|
||||||
|
1.7.5.4
|
||||||
|
|
@ -28,6 +28,7 @@ Patch107: xmlrpc-c-uninit-curl.patch
|
|||||||
Patch108: xmlrpc-c-30x-redirect.patch
|
Patch108: xmlrpc-c-30x-redirect.patch
|
||||||
Patch109: xmlrpc-c-check-vasprintf-return-value.patch
|
Patch109: xmlrpc-c-check-vasprintf-return-value.patch
|
||||||
Patch110: xmlrpc-c-include-string_int.h.patch
|
Patch110: xmlrpc-c-include-string_int.h.patch
|
||||||
|
Patch111: xmlrpc-c-curl-types.h.patch
|
||||||
|
|
||||||
|
|
||||||
BuildRoot: %_tmppath/%name-%version-%release-root
|
BuildRoot: %_tmppath/%name-%version-%release-root
|
||||||
@ -117,6 +118,7 @@ This package contains some handy XML-RPC demo applications.
|
|||||||
%patch108 -p1
|
%patch108 -p1
|
||||||
%patch109 -p1
|
%patch109 -p1
|
||||||
%patch110 -p1
|
%patch110 -p1
|
||||||
|
%patch111 -p1
|
||||||
|
|
||||||
## not needed...
|
## not needed...
|
||||||
rm doc/{INSTALL,configure_doc}
|
rm doc/{INSTALL,configure_doc}
|
||||||
@ -237,6 +239,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%changelog
|
%changelog
|
||||||
* Mon Jun 27 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.27.0-1600.svn2145
|
* Mon Jun 27 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.27.0-1600.svn2145
|
||||||
- updated to 1.27.0
|
- updated to 1.27.0
|
||||||
|
- made it build with recent curl
|
||||||
|
|
||||||
* Mon Jun 13 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.26.3-1600.svn2134
|
* Mon Jun 13 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 1.26.3-1600.svn2134
|
||||||
- updated to 1.26.3
|
- updated to 1.26.3
|
||||||
|
Loading…
Reference in New Issue
Block a user