From 50445decdce3beed148912123395c652c819b0d5 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Wed, 4 Nov 2020 23:30:40 +0000 Subject: [PATCH] Merged update from upstream sources This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/libwpd.git#a1bc2f90d9e44334138d06b51cc612cf19423700 --- libwpd-gcc11.patch | 25 +++++++++++++++++++++++++ libwpd.spec | 6 +++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 libwpd-gcc11.patch diff --git a/libwpd-gcc11.patch b/libwpd-gcc11.patch new file mode 100644 index 0000000..6fcad1e --- /dev/null +++ b/libwpd-gcc11.patch @@ -0,0 +1,25 @@ +diff --git a/src/lib/WPXContentListener.cpp b/src/lib/WPXContentListener.cpp +index ab0f9b1..0b559e6 100644 +--- a/src/lib/WPXContentListener.cpp ++++ b/src/lib/WPXContentListener.cpp +@@ -23,6 +23,7 @@ + * Corel Corporation or Corel Corporation Limited." + */ + ++#include + #include "WPXContentListener.h" + #include "WPXPageSpan.h" + #include "libwpd_internal.h" +diff --git a/src/lib/WPXTable.cpp b/src/lib/WPXTable.cpp +index 0ad202a..3ff35e1 100644 +--- a/src/lib/WPXTable.cpp ++++ b/src/lib/WPXTable.cpp +@@ -25,6 +25,8 @@ + * Corel Corporation or Corel Corporation Limited." + */ + ++#include ++ + #include "WPXTable.h" + + #include "libwpd_internal.h" diff --git a/libwpd.spec b/libwpd.spec index 2b57f5a..c6e214c 100644 --- a/libwpd.spec +++ b/libwpd.spec @@ -3,8 +3,9 @@ Name: libwpd Summary: A library for import of WordPerfect documents Version: 0.10.3 -Release: 6%{?dist} +Release: 7%{?dist} Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz +Patch0: %{name}-gcc11.patch URL: http://libwpd.sf.net/ License: LGPLv2+ or MPLv2.0 @@ -93,6 +94,9 @@ install -m 0644 wpd2*.1 %{buildroot}/%{_mandir}/man1 %doc docs/%{name}.png %changelog +* Wed Nov 04 2020 Jeff Law - 0.10.3-7 +- Fix missing #includes for gcc-11 + * Tue Jul 28 2020 Fedora Release Engineering - 0.10.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild