diff --git a/curl-types.patch b/curl-types.patch new file mode 100644 index 0000000..c960417 --- /dev/null +++ b/curl-types.patch @@ -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 +-#include + #include + #endif + diff --git a/raptor.changes b/raptor.changes index 1b72864..4873d25 100644 --- a/raptor.changes +++ b/raptor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 11 19:07:13 UTC 2011 - aj@suse.de + +- Remove inclusion of , it's obsolete in curl since + 2004. + ------------------------------------------------------------------- Fri Apr 14 13:38:21 UTC 2011 - toddrme2178@gmail.com diff --git a/raptor.spec b/raptor.spec index 2fc2eb1..8a460bd 100644 --- a/raptor.spec +++ b/raptor.spec @@ -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