From be4a7319f9e3587d813ac8ef2fabb3b928b43586f4a88fbb2e4ef99cb390fce1 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 12 Aug 2011 08:20:52 +0000 Subject: [PATCH] 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 --- curl-types.patch | 12 ++++++++++++ raptor.changes | 6 ++++++ raptor.spec | 2 ++ 3 files changed, 20 insertions(+) create mode 100644 curl-types.patch 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