added patch for gcc 11.1.0 [release 0.16.1-2mamba;Sat Jun 12 2021]
This commit is contained in:
parent
59568ecf72
commit
7d64e5a31a
30
liborcus-0.16.1-gcc-11.1.0.patch
Normal file
30
liborcus-0.16.1-gcc-11.1.0.patch
Normal file
@ -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 <string>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
+#include <limits>
|
||||
|
||||
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 <mdds/sorted_string_map.hpp>
|
||||
|
||||
#include <iostream>
|
||||
+#include <limits>
|
||||
|
||||
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 <iostream>
|
||||
+#include <limits>
|
||||
|
||||
using namespace std;
|
||||
|
@ -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 <silvan.calarco@mambasoft.it> 0.16.1-2mamba
|
||||
- added patch for gcc 11.1.0
|
||||
|
||||
* Thu Nov 12 2020 Automatic Build System <autodist@mambasoft.it> 0.16.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user