diff --git a/fix-missing-include.patch b/fix-missing-include.patch new file mode 100644 index 0000000..6bc4a6c --- /dev/null +++ b/fix-missing-include.patch @@ -0,0 +1,28 @@ +From 698bed839c9129fa7a90ca1b5a33bf777bc028d1 Mon Sep 17 00:00:00 2001 +From: Stephan Bergmann +Date: Tue, 11 Jun 2019 12:15:28 +0200 +Subject: [PATCH] missing include + +Change-Id: I3c5c085f55223688cdc7b972f7c7981411881263 +Reviewed-on: https://gerrit.libreoffice.org/73814 +Reviewed-by: Michael Stahl +Tested-by: Michael Stahl +--- + src/lib/MSPUBMetaData.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h +index 9167f4f..27bdd4f 100644 +--- a/src/lib/MSPUBMetaData.h ++++ b/src/lib/MSPUBMetaData.h +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + #include + +-- +2.24.0 + diff --git a/libmspub.changes b/libmspub.changes index af2961b..588b8e1 100644 --- a/libmspub.changes +++ b/libmspub.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Dec 3 17:12:43 UTC 2019 - Martin Liška + +- Add fix-missing-include.patch in order + to fix boo#1158322. + ------------------------------------------------------------------- Wed Mar 7 12:47:35 UTC 2018 - tchvatal@suse.com diff --git a/libmspub.spec b/libmspub.spec index 3fd5404..e5b7563 100644 --- a/libmspub.spec +++ b/libmspub.spec @@ -1,7 +1,7 @@ # # spec file for package libmspub # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,8 +23,9 @@ Release: 0 Summary: Microsoft Publisher file format parser library License: MPL-2.0 Group: Productivity/Publishing/Word -Url: https://wiki.documentfoundation.org/DLP/Libraries/libmspub +URL: https://wiki.documentfoundation.org/DLP/Libraries/libmspub Source: http://dev-www.libreoffice.org/src/libmspub/libmspub-%{version}.tar.xz +Patch0: fix-missing-include.patch BuildRequires: doxygen BuildRequires: fdupes BuildRequires: gcc-c++ @@ -79,6 +80,7 @@ Command line tools to work with publications in Microsoft Publisher file-format. %prep %setup -q +%patch0 -p1 %build export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"