From 7d64e5a31a062622121e158d81cb2645d9bdb966 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:18:22 +0100 Subject: [PATCH] added patch for gcc 11.1.0 [release 0.16.1-2mamba;Sat Jun 12 2021] --- liborcus-0.16.1-gcc-11.1.0.patch | 30 ++++++++++++++++++++++++++++++ liborcus.spec | 20 ++++++++++++++------ 2 files changed, 44 insertions(+), 6 deletions(-) create mode 100644 liborcus-0.16.1-gcc-11.1.0.patch diff --git a/liborcus-0.16.1-gcc-11.1.0.patch b/liborcus-0.16.1-gcc-11.1.0.patch new file mode 100644 index 0000000..0a9700c --- /dev/null +++ b/liborcus-0.16.1-gcc-11.1.0.patch @@ -0,0 +1,30 @@ +--- liborcus-0.16.1/src/liborcus/orcus_xlsx.cpp.orig 2021-06-12 13:07:43.538046287 +0100 ++++ liborcus-0.16.1/src/liborcus/orcus_xlsx.cpp 2021-06-12 13:04:47.582553788 +0100 +@@ -35,6 +35,7 @@ + #include + #include + #include ++#include + + using namespace std; + +--- liborcus-0.16.1/src/liborcus/xls_xml_context.cpp.orig 2021-06-12 13:15:25.390761088 +0100 ++++ liborcus-0.16.1/src/liborcus/xls_xml_context.cpp 2021-06-12 13:15:40.979047827 +0100 +@@ -16,6 +16,7 @@ + #include + + #include ++#include + + using namespace std; + namespace ss = orcus::spreadsheet; +--- liborcus-0.16.1/src/liborcus/xlsx_revision_context.cpp.orig 2021-06-12 13:08:08.410530072 +0100 ++++ liborcus-0.16.1/src/liborcus/xlsx_revision_context.cpp 2021-06-12 13:08:22.426801761 +0100 +@@ -16,6 +16,7 @@ + #include "orcus/global.hpp" + + #include ++#include + + using namespace std; + diff --git a/liborcus.spec b/liborcus.spec index ad800e4..684b9a6 100644 --- a/liborcus.spec +++ b/liborcus.spec @@ -1,6 +1,6 @@ Name: liborcus Version: 0.16.1 -Release: 1mamba +Release: 2mamba Summary: Standalone file import filter library for spreadsheet documents Group: System/Libraries Vendor: openmamba @@ -13,6 +13,7 @@ Patch1: liborcus-0.5.1-libmdds-0.8.patch Patch2: liborcus-0.5.1-libboost-1.54.patch Patch3: liborcus-0.7.0-libboost-1.56.patch Patch4: liborcus-0.7.0-gcc-5.3.patch +Patch5: liborcus-0.16.1-gcc-11.1.0.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -24,7 +25,6 @@ BuildRequires: libstdc++6-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: libixion-devel >= 0.13 -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Standalone file import filter library for spreadsheet documents. Currently under development are ODS, XLSX and CSV import filters. @@ -33,8 +33,7 @@ Standalone file import filter library for spreadsheet documents. Currently under Group: Development/Libraries Summary: Development files for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} -## note: you can add this requirement if .pc files are provided by this package -#Requires: pkg-config +Requires: pkg-config %description devel This package contains libraries and header files for developing applications that use %{name}. @@ -51,15 +50,21 @@ This package contains utility applications for %{name}. %prep %setup -q +#-D -T +#:<< _EOF #%patch0 -p1 #%patch1 -p1 %patch2 -p1 #%patch3 -p1 #%patch4 -p1 +%patch5 -p1 + +./autogen.sh %build -./autogen.sh -%configure +%configure \ + PYTHON=%{__python3} + %make %install @@ -100,6 +105,9 @@ This package contains utility applications for %{name}. %{_bindir}/orcus-* %changelog +* Sat Jun 12 2021 Silvan Calarco 0.16.1-2mamba +- added patch for gcc 11.1.0 + * Thu Nov 12 2020 Automatic Build System 0.16.1-1mamba - automatic version update by autodist