Marcus Rückert 2007-11-19 22:42:11 +00:00 committed by Git OBS Bridge
parent 8b722cf4c8
commit 783b846fa0
3 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,49 @@
Index: api/maptermlist.h
===================================================================
--- api/maptermlist.h.orig
+++ api/maptermlist.h
@@ -29,6 +29,8 @@
#include "omassert.h"
+#include <cstdlib>
+
using namespace std;
class MapTermList : public TermList {
Index: common/vectortermlist.h
===================================================================
--- common/vectortermlist.h.orig
+++ common/vectortermlist.h
@@ -28,6 +28,7 @@
#include <list>
#include <vector>
+#include <cstdlib>
using namespace std;
Index: backends/alltermslist.cc
===================================================================
--- backends/alltermslist.cc.orig
+++ backends/alltermslist.cc
@@ -25,6 +25,7 @@
#include "omassert.h"
#include <string>
+#include <cstdlib>
using namespace std;
Index: bin/xapian-progsrv.cc
===================================================================
--- bin/xapian-progsrv.cc.orig
+++ bin/xapian-progsrv.cc
@@ -26,6 +26,7 @@
#include <iostream>
#include <string>
+#include <cstdlib>
using namespace std;

View File

@ -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

View File

@ -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}/