From 87cd86a4a5e63e6d1f3a6ed51e4a8f9320c8a237 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 17 Oct 2020 16:21:07 -0600 Subject: [PATCH] Add missing #include for gcc-11 --- xapian-core-gcc11.patch | 12 ++++++++++++ xapian-core.spec | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 xapian-core-gcc11.patch diff --git a/xapian-core-gcc11.patch b/xapian-core-gcc11.patch new file mode 100644 index 0000000..a91a738 --- /dev/null +++ b/xapian-core-gcc11.patch @@ -0,0 +1,12 @@ +diff --git a/api/omdocument.cc b/api/omdocument.cc +index 1134e9f..b540960 100644 +--- a/api/omdocument.cc ++++ b/api/omdocument.cc +@@ -39,6 +39,7 @@ + + #include + #include ++#include + + using namespace std; + diff --git a/xapian-core.spec b/xapian-core.spec index 001329a..25101e1 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -1,10 +1,11 @@ Name: xapian-core Version: 1.4.17 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Xapian Probabilistic Information Retrieval Library License: GPLv2+ URL: http://www.xapian.org/ Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz +Patch0: %{name}-gcc11.patch BuildRequires: gcc gcc-c++ BuildRequires: libuuid-devel @@ -102,6 +103,9 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name} %{_mandir}/man1/xapian-config.1* %changelog +* Sat Oct 17 2020 Jeff Law - 1.4.17-2 +- Fix missing #include for gcc-11 + * Mon Sep 21 2020 Peter Robinson - 1.4.17-1 - Update to 1.4.17