Accepting request 78567 from home:a_jaeger:branches:openSUSE:Factory
Fix build - remove inclusion of obsolete curl/types.h OBS-URL: https://build.opensuse.org/request/show/78567 OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/raptor?expand=0&rev=4
This commit is contained in:
parent
1e48e1e6ea
commit
be4a7319f9
12
curl-types.patch
Normal file
12
curl-types.patch
Normal 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
|
||||||
|
|
@ -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
|
Fri Apr 14 13:38:21 UTC 2011 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ License: LGPLv2.1+ ; ASLv..
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
|
Patch1: curl-types.patch
|
||||||
Url: http://www.redland.opensource.ac.uk/raptor/
|
Url: http://www.redland.opensource.ac.uk/raptor/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -70,6 +71,7 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
|
Loading…
Reference in New Issue
Block a user