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
This commit is contained in:
Atri Bhattacharya 2023-04-26 23:02:06 +00:00 committed by Git OBS Bridge
parent 0f3011068b
commit a3b41b89a9
3 changed files with 21 additions and 2 deletions

12
xournalpp-include.patch Normal file
View File

@ -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 <cinttypes>
#include <map>
#include <string>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Apr 26 13:24:19 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Add xournalpp-include.patch: Add missing include exposed by
gcc-13.
-------------------------------------------------------------------
Tue Dec 6 15:28:01 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

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