SHA256
1
0
forked from pool/xmlrpc-c

Accepting request 92892 from home:rjschwei:branches:devel:libraries:c_c++

Fix build errors:
remove include of curl/types.h; file no longer exists and has been empty for a while

OBS-URL: https://build.opensuse.org/request/show/92892
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/xmlrpc-c?expand=0&rev=62
This commit is contained in:
Ismail Dönmez 2011-11-21 17:00:16 +00:00 committed by Git OBS Bridge
parent ce2d8cadb4
commit c49e03aeb8
3 changed files with 41 additions and 1 deletions

View File

@ -0,0 +1,30 @@
--- lib/curl_transport/curlmulti.c.orig
+++ 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>
--- lib/curl_transport/curltransaction.c.orig
+++ 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"
--- lib/curl_transport/xmlrpc_curl_transport.c.orig
+++ 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>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 21 15:09:55 UTC 2011 - rschweikert@suse.com
- remove include of curl/types.h; file no longer exists and has been
empty for a while
-------------------------------------------------------------------
Tue Jun 28 22:08:44 UTC 2011 - appleonkel@opensuse.org

View File

@ -28,8 +28,9 @@ License: BSD
Group: Development/Libraries/C and C++
URL: http://xmlrpc-c.sourceforge.net
# http://prdownloads.sourceforge.net/xmlrpc-c/xmlrpc-c-%{version}.tgz
Source: %{name}-%{version}.tar.bz2
Source: %{name}-%{version}.tar.bz2
Patch0: %{name}-default-constructor.patch
Patch1: %{name}-no-curltypes-incl.patch
Source99: %{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf automake file gcc-c++ libtool
@ -263,6 +264,9 @@ Authors:
%prep
%setup -q
%patch0
%if 0%{?suse_version} >= 1040
%patch1
%endif
%__rm -rf examples/.cvsignore examples/cpp/.cvsignore