2 Commits

3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
https://bugs.gentoo.org/937527
https://sourceforge.net/p/libwpd/tickets/27/
--- a/src/OdfGenerator.cxx
+++ b/src/OdfGenerator.cxx
@@ -33,6 +33,7 @@
#include <math.h>
#include <cctype>
+#include <cstdint>
#include <limits>
#include <memory>
#include <string>

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Apr 5 15:20:21 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- Add libodfgen-0.1.8-gcc15-cstdint.patch (from gentoo) to fix
gcc-15 compile time error
-------------------------------------------------------------------
Thu Jan 27 13:47:06 UTC 2022 - Fridrich Strba <fstrba@suse.com>

View File

@@ -26,6 +26,7 @@ License: LGPL-2.1-or-later AND MPL-2.0
Group: Productivity/Publishing/Word
URL: http://libwpd.sourceforge.net
Source: https://downloads.sourceforge.net/project/libwpd/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
Patch1: libodfgen-0.1.8-gcc15-cstdint.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: gcc-c++
@@ -67,6 +68,7 @@ This package contains documentation for the libodfgen API.
%prep
%setup -q
%autopatch -p1
%build
export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"