Accepting request 753316 from home:marxin:branches:LibreOffice:Factory

- Add fix-missing-include.patch in order
  to fix boo#1158322.

OBS-URL: https://build.opensuse.org/request/show/753316
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libmspub?expand=0&rev=31
This commit is contained in:
Tomáš Chvátal
2019-12-03 18:23:14 +00:00
committed by Git OBS Bridge
parent 3d5b706b81
commit a423d413af
3 changed files with 39 additions and 3 deletions

28
fix-missing-include.patch Normal file
View File

@@ -0,0 +1,28 @@
From 698bed839c9129fa7a90ca1b5a33bf777bc028d1 Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman@redhat.com>
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 <Michael.Stahl@cib.de>
Tested-by: Michael Stahl <Michael.Stahl@cib.de>
---
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 <map>
#include <utility>
#include <vector>
+#include <stdint.h>
#include <librevenge/librevenge.h>
--
2.24.0

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Dec 3 17:12:43 UTC 2019 - Martin Liška <mliska@suse.cz>
- Add fix-missing-include.patch in order
to fix boo#1158322.
-------------------------------------------------------------------
Wed Mar 7 12:47:35 UTC 2018 - tchvatal@suse.com

View File

@@ -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"