String patch.
This commit is contained in:
parent
1ff2c52066
commit
037d8f5ae7
26
3825abc637ac2d3bc6ff997503b0631ac14e16b5.patch
Normal file
26
3825abc637ac2d3bc6ff997503b0631ac14e16b5.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 3825abc637ac2d3bc6ff997503b0631ac14e16b5 Mon Sep 17 00:00:00 2001
|
||||
From: Sergei Trofimovich <slyfox@inbox.ru>
|
||||
Date: Tue, 30 Nov 2021 10:11:20 +0000
|
||||
Subject: [PATCH] Initializes string with empty string
|
||||
|
||||
src/io/file.h: fix build on gcc-12
|
||||
---
|
||||
src/io/file.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/io/file.h b/src/io/file.h
|
||||
index 5d2ec6d86d..eb5c0d8a0f 100644
|
||||
--- a/src/io/file.h
|
||||
+++ b/src/io/file.h
|
||||
@@ -26,7 +26,7 @@ class RefPtr;
|
||||
|
||||
class SPDocument;
|
||||
|
||||
-SPDocument* ink_file_new(const std::string &Template = nullptr);
|
||||
+SPDocument* ink_file_new(const std::string &Template = "");
|
||||
SPDocument* ink_file_open(const Glib::ustring &data);
|
||||
SPDocument* ink_file_open(const Glib::RefPtr<Gio::File>& file, bool *cancelled = nullptr);
|
||||
|
||||
--
|
||||
GitLab
|
||||
|
@ -17,6 +17,7 @@ Source2: Fedora-Color-Palette.gpl
|
||||
|
||||
Patch0: b3dabef2245d4e4e977ee9d6776be9a134493515.patch
|
||||
Patch1: 5724c21b9cb7b6176a7b36ca24068b148c817e82.patch
|
||||
Patch2: 3825abc637ac2d3bc6ff997503b0631ac14e16b5.patch
|
||||
|
||||
Provides: bundled(libcroco)
|
||||
Provides: bundled(autotrace)
|
||||
@ -216,7 +217,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.inkscape.Inksc
|
||||
|
||||
%changelog
|
||||
* Thu Jan 13 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.1.1-3
|
||||
- Poppler rebuild, with upstream patch.
|
||||
- Poppler rebuild, with upstream patches.
|
||||
|
||||
* Wed Nov 10 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.1.1-2
|
||||
- Patch for Pango multiline issue.
|
||||
|
Loading…
Reference in New Issue
Block a user