diff --git a/0001-fix-build-with-gcc-4.8.patch b/0001-fix-build-with-gcc-4.8.patch deleted file mode 100644 index 9ed1088..0000000 --- a/0001-fix-build-with-gcc-4.8.patch +++ /dev/null @@ -1,39 +0,0 @@ -From eb6322f6217e3571329d04da512a98f86f5829c8 Mon Sep 17 00:00:00 2001 -From: rpmbuild -Date: Tue, 16 Feb 2016 16:55:38 +0100 -Subject: [PATCH] fix build with gcc 4.8 - ---- - xmloff/source/core/RDFaExportHelper.cxx | 2 +- - xmloff/source/core/RDFaImportHelper.cxx | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/xmloff/source/core/RDFaExportHelper.cxx b/xmloff/source/core/RDFaExportHelper.cxx -index 42a25f0..3f054eb 100644 ---- a/xmloff/source/core/RDFaExportHelper.cxx -+++ b/xmloff/source/core/RDFaExportHelper.cxx -@@ -165,7 +165,7 @@ RDFaExportHelper::AddRDFa( - xContent->getValue()); - } - -- auto aStatementToCURIE = [this](rdf::Statement const& aStatement) { -+ std::function aStatementToCURIE = [this](rdf::Statement const& aStatement) { - return makeCURIE(&this->m_rExport, aStatement.Predicate); - }; - OUStringBuffer property; -diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx -index 96d784d..f78f17c 100644 ---- a/xmloff/source/core/RDFaImportHelper.cxx -+++ b/xmloff/source/core/RDFaImportHelper.cxx -@@ -328,7 +328,7 @@ void RDFaInserter::InsertRDFaEntry( - - predicates.reserve(i_rEntry.m_xRDFaAttributes->m_Properties.size()); - -- auto aPropertyToXURI = [this](OUString const& aProperty) { return this->MakeURI(aProperty); }; -+ std::function(OUString const &)> aPropertyToXURI = [this](OUString const& aProperty) { return this->MakeURI(aProperty); }; - // Store as variable so the type matches in both calls. - - ::std::remove_copy_if( --- -2.5.0 - diff --git a/libreoffice.spec b/libreoffice.spec index 31ab28e..21f8d74 100644 --- a/libreoffice.spec +++ b/libreoffice.spec @@ -237,8 +237,6 @@ Patch6: 0001-add-X-TryExec-entries-to-desktop-files.patch %if 0%{?rhel} # not upstreamed Patch500: 0001-disable-libe-book-support.patch -# not upstreamed -Patch501: 0001-fix-build-with-gcc-4.8.patch %endif %define instdir %{_libdir}