Accepting request 78616 from X11:common:Factory

Fix build - remove inclusion of obsolete curl/types.h (forwarded request 78567 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/78616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/raptor?expand=0&rev=21
This commit is contained in:
Sascha Peilicke 2011-08-12 11:43:40 +00:00 committed by Git OBS Bridge
commit 20335fb7ee
3 changed files with 20 additions and 0 deletions

12
curl-types.patch Normal file
View File

@ -0,0 +1,12 @@
Index: src/raptor_internal.h
===================================================================
--- src/raptor_internal.h.orig
+++ src/raptor_internal.h
@@ -852,7 +852,6 @@ int raptor_utf8_is_nfc(const unsigned ch
#ifdef RAPTOR_WWW_LIBCURL
#include <curl/curl.h>
-#include <curl/types.h>
#include <curl/easy.h>
#endif

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Aug 11 19:07:13 UTC 2011 - aj@suse.de
- Remove inclusion of <curl/types.h>, it's obsolete in curl since
2004.
-------------------------------------------------------------------
Fri Apr 14 13:38:21 UTC 2011 - toddrme2178@gmail.com

View File

@ -27,6 +27,7 @@ License: LGPLv2.1+ ; ASLv..
Group: System/Libraries
Source0: %{name}-%{version}.tar.bz2
Source1: baselibs.conf
Patch1: curl-types.patch
Url: http://www.redland.opensource.ac.uk/raptor/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -70,6 +71,7 @@ Authors:
%prep
%setup -q
%patch1 -p0
%build
autoreconf -fiv