From 783b846fa019c2eaced0372deeb89163e16b53e75f5a28e88d2212c0a921c917 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Mon, 19 Nov 2007 22:42:11 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-core?expand=0&rev=23 --- xapian-core-1.0.4_gcc43.patch | 49 +++++++++++++++++++++++++++++++++++ xapian-core.changes | 6 +++++ xapian-core.spec | 2 ++ 3 files changed, 57 insertions(+) create mode 100644 xapian-core-1.0.4_gcc43.patch diff --git a/xapian-core-1.0.4_gcc43.patch b/xapian-core-1.0.4_gcc43.patch new file mode 100644 index 0000000..c1166f2 --- /dev/null +++ b/xapian-core-1.0.4_gcc43.patch @@ -0,0 +1,49 @@ +Index: api/maptermlist.h +=================================================================== +--- api/maptermlist.h.orig ++++ api/maptermlist.h +@@ -29,6 +29,8 @@ + + #include "omassert.h" + ++#include ++ + using namespace std; + + class MapTermList : public TermList { +Index: common/vectortermlist.h +=================================================================== +--- common/vectortermlist.h.orig ++++ common/vectortermlist.h +@@ -28,6 +28,7 @@ + + #include + #include ++#include + + using namespace std; + +Index: backends/alltermslist.cc +=================================================================== +--- backends/alltermslist.cc.orig ++++ backends/alltermslist.cc +@@ -25,6 +25,7 @@ + #include "omassert.h" + + #include ++#include + + using namespace std; + +Index: bin/xapian-progsrv.cc +=================================================================== +--- bin/xapian-progsrv.cc.orig ++++ bin/xapian-progsrv.cc +@@ -26,6 +26,7 @@ + + #include + #include ++#include + + using namespace std; + diff --git a/xapian-core.changes b/xapian-core.changes index 787a038..63bad19 100644 --- a/xapian-core.changes +++ b/xapian-core.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 19 23:41:33 CET 2007 - mrueckert@suse.de + +- added xapian-core-1.0.4_gcc43.patch: + add missing includes for gcc 4.3 + ------------------------------------------------------------------- Mon Nov 19 22:00:09 CET 2007 - mrueckert@suse.de diff --git a/xapian-core.spec b/xapian-core.spec index 20d50f3..51b7de8 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -23,6 +23,7 @@ Requires: %{name}-libs = %{version} # Url: http://www.xapian.org/ Source: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.gz +Patch: xapian-core-1.0.4_gcc43.patch # Summary: The Xapian Probabilistic Information Retrieval Library. %description @@ -58,6 +59,7 @@ files needed for building packages which use Xapian. %debug_package %prep %setup +%patch %build %configure --docdir=%{_docdir}/%{name}/