Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libwpd for openSUSE:Factory checked 
in at 2021-03-18 22:54:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libwpd (Old)
 and      /work/SRC/openSUSE:Factory/.libwpd.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libwpd"

Thu Mar 18 22:54:17 2021 rev:44 rq:878960 version:0.10.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/libwpd/libwpd.changes    2020-08-19 
18:47:13.195540953 +0200
+++ /work/SRC/openSUSE:Factory/.libwpd.new.2401/libwpd.changes  2021-03-18 
22:54:24.419496250 +0100
@@ -1,0 +2,6 @@
+Wed Mar 10 22:38:24 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add patch to fix build with GCC11 (boo#1181873)
+  * 0001-Fix-build-with-GCC11.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-build-with-GCC11.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libwpd.spec ++++++
--- /var/tmp/diff_new_pack.AtQXHk/_old  2021-03-18 22:54:24.895496764 +0100
+++ /var/tmp/diff_new_pack.AtQXHk/_new  2021-03-18 22:54:24.895496764 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libwpd
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 Group:          Productivity/Publishing/Word
 URL:            http://libwpd.sourceforge.net
 Source:         
http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Fix-build-with-GCC11.patch
 BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -84,7 +86,7 @@
 supported: html, raw, text
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"

++++++ 0001-Fix-build-with-GCC11.patch ++++++
>From c5f3105230b383ebf31237b11d28b67c7498e900 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christo...@krop.fr>
Date: Wed, 10 Mar 2021 23:37:49 +0100
Subject: [PATCH] Fix build with GCC11

---
 src/lib/WPXContentListener.h | 1 +
 src/lib/WPXTable.h           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/lib/WPXContentListener.h b/src/lib/WPXContentListener.h
index cf7a93e..376a98c 100644
--- a/src/lib/WPXContentListener.h
+++ b/src/lib/WPXContentListener.h
@@ -32,6 +32,7 @@
 #include "WPXSubDocument.h"
 #include "WPXPageSpan.h"
 #include "WPXListener.h"
+#include <cstddef>
 #include <memory>
 #include <vector>
 #include <list>
diff --git a/src/lib/WPXTable.h b/src/lib/WPXTable.h
index bdbaf79..b2975c4 100644
--- a/src/lib/WPXTable.h
+++ b/src/lib/WPXTable.h
@@ -36,6 +36,7 @@
 #ifndef _WPXTABLE_H
 #define _WPXTABLE_H
 
+#include <cstddef>
 #include <vector>
 
 struct WPXTableCell
-- 
2.30.1

Reply via email to