From a3b41b89a9b43511e10d612149f34f5aa1c2eccae5a44e7d1ae84e4aa694dc8d Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Wed, 26 Apr 2023 23:02:06 +0000 Subject: [PATCH] Accepting request 1083016 from home:iznogood:branches:X11:Utilities - Add xournalpp-include.patch: Add missing include exposed by gcc-13. OBS-URL: https://build.opensuse.org/request/show/1083016 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/xournalpp?expand=0&rev=39 --- xournalpp-include.patch | 12 ++++++++++++ xournalpp.changes | 6 ++++++ xournalpp.spec | 5 +++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 xournalpp-include.patch diff --git a/xournalpp-include.patch b/xournalpp-include.patch new file mode 100644 index 0000000..79317e5 --- /dev/null +++ b/xournalpp-include.patch @@ -0,0 +1,12 @@ +Index: xournalpp-1.1.3/src/view/background/BackgroundConfig.h +=================================================================== +--- xournalpp-1.1.3.orig/src/view/background/BackgroundConfig.h ++++ xournalpp-1.1.3/src/view/background/BackgroundConfig.h +@@ -11,6 +11,7 @@ + + #pragma once + ++#include + #include + #include + diff --git a/xournalpp.changes b/xournalpp.changes index 2f94505..04e13b8 100644 --- a/xournalpp.changes +++ b/xournalpp.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 26 13:24:19 UTC 2023 - Bjørn Lie + +- Add xournalpp-include.patch: Add missing include exposed by + gcc-13. + ------------------------------------------------------------------- Tue Dec 6 15:28:01 UTC 2022 - Dirk Müller diff --git a/xournalpp.spec b/xournalpp.spec index d0cc7f2..16d0635 100644 --- a/xournalpp.spec +++ b/xournalpp.spec @@ -1,7 +1,7 @@ # # spec file for package xournalpp # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ License: GPL-2.0-or-later Group: Productivity/Office/Other URL: https://github.com/xournalpp/xournalpp Source0: https://github.com/xournalpp/xournalpp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM xournalpp-include.patch -- Add missing include +Patch0: xournalpp-include.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: hicolor-icon-theme @@ -70,7 +72,6 @@ It supports pen input, e.g. Wacom tablets. %install %cmake_install %find_lang xournalpp %{no_lang_C} - %fdupes %{buildroot}%{_datadir} %files