diff options
author | Sam James <sam@gentoo.org> | 2023-11-14 02:44:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-11-14 02:44:57 +0000 |
commit | 8b1ed04d8d5ddae19d74457f693f05ea5b4dc8c0 (patch) | |
tree | d527ed49936abc41547d75fcc149e76982dfc304 /app-editors/ghostwriter | |
parent | app-metrics/prometheus-podman-exporter: add 1.5.0 (diff) | |
download | gentoo-8b1ed04d8d5ddae19d74457f693f05ea5b4dc8c0.tar.gz gentoo-8b1ed04d8d5ddae19d74457f693f05ea5b4dc8c0.tar.bz2 gentoo-8b1ed04d8d5ddae19d74457f693f05ea5b4dc8c0.zip |
app-editors/ghostwriter: backport gcc-13 fix to 23.04.3
23.08.3 already has the fix in a release.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/ghostwriter')
-rw-r--r-- | app-editors/ghostwriter/files/ghostwriter-23.0.4-stdint.patch | 27 | ||||
-rw-r--r-- | app-editors/ghostwriter/ghostwriter-23.04.3.ebuild | 4 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-editors/ghostwriter/files/ghostwriter-23.0.4-stdint.patch b/app-editors/ghostwriter/files/ghostwriter-23.0.4-stdint.patch new file mode 100644 index 000000000000..5fa58933843c --- /dev/null +++ b/app-editors/ghostwriter/files/ghostwriter-23.0.4-stdint.patch @@ -0,0 +1,27 @@ +https://github.com/KDE/ghostwriter/commit/b76b14a00069a2d544b615ad6dc8f9cbdc678982 + +From b76b14a00069a2d544b615ad6dc8f9cbdc678982 Mon Sep 17 00:00:00 2001 +From: Pino Toscano <pino@kde.org> +Date: Wed, 26 Jul 2023 04:19:19 +0200 +Subject: [PATCH] Include <cstdint> where needed + +Include it where std::uint32_t is explicitly used. + +(cherry picked from commit 9e1a2ba2e01c7172a04e41b5d487461aa73c87d6) +--- + src/markdownnode.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/markdownnode.cpp b/src/markdownnode.cpp +index dce179d4a..f7a4eab49 100644 +--- a/src/markdownnode.cpp ++++ b/src/markdownnode.cpp +@@ -4,6 +4,8 @@ + * SPDX-License-Identifier: GPL-3.0-or-later + */ + ++#include <cstdint> ++ + #include "../3rdparty/cmark-gfm/src/cmark-gfm.h" + #include "../3rdparty/cmark-gfm/extensions/cmark-gfm-core-extensions.h" + diff --git a/app-editors/ghostwriter/ghostwriter-23.04.3.ebuild b/app-editors/ghostwriter/ghostwriter-23.04.3.ebuild index 28ce693be6e0..1df0d10ec5eb 100644 --- a/app-editors/ghostwriter/ghostwriter-23.04.3.ebuild +++ b/app-editors/ghostwriter/ghostwriter-23.04.3.ebuild @@ -39,3 +39,7 @@ BDEPEND=" " DOCS=( CHANGELOG.md README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-23.0.4-stdint.patch +) |