[packages/liborcus] - added includes patch to fix build with gcc 14; release 2
qboosh
qboosh at pld-linux.org
Thu Aug 29 20:03:18 CEST 2024
commit c60227e35d12734a9dc5c1216ddaef0f0f28a7af
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Aug 29 19:48:33 2024 +0200
- added includes patch to fix build with gcc 14; release 2
liborcus-includes.patch | 11 +++++++++++
liborcus.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/liborcus.spec b/liborcus.spec
index b629562..ee1e37b 100644
--- a/liborcus.spec
+++ b/liborcus.spec
@@ -10,13 +10,14 @@ Summary(pl.UTF-8): Biblioteka samodzielnego filtra importującego pliki dla arku
Name: liborcus
# keep in sync with BuildRequires in libreoffice.spec
Version: 0.18.1
-Release: 1
+Release: 2
License: MPL v2.0
Group: Libraries
#Source0Download: https://gitlab.com/orcus/orcus/-/releases
Source0: https://kohei.us/files/orcus/src/%{name}-%{version}.tar.xz
# Source0-md5: bcfdf8223bda9b07f802d121a2ff6716
Patch0: %{name}-flags.patch
+Patch1: %{name}-includes.patch
URL: https://gitlab.com/orcus/orcus
BuildRequires: autoconf >= 2.65
BuildRequires: automake >= 1:1.11
@@ -149,6 +150,7 @@ Wiązanie Pythona 3 do biblioteki liborcus.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
diff --git a/liborcus-includes.patch b/liborcus-includes.patch
new file mode 100644
index 0000000..abb4d70
--- /dev/null
+++ b/liborcus-includes.patch
@@ -0,0 +1,11 @@
+--- liborcus-0.18.1/src/spreadsheet/document_impl.cpp.orig 2022-05-20 04:44:14.000000000 +0200
++++ liborcus-0.18.1/src/spreadsheet/document_impl.cpp 2024-08-29 19:41:55.016777502 +0200
+@@ -7,6 +7,8 @@
+
+ #include "document_impl.hpp"
+
++#include <algorithm>
++
+ namespace orcus { namespace spreadsheet { namespace detail {
+
+ namespace {
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/liborcus.git/commitdiff/c60227e35d12734a9dc5c1216ddaef0f0f28a7af
More information about the pld-cvs-commit
mailing list