diff options
author | Sam James <sam@gentoo.org> | 2023-01-21 18:18:25 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-01-21 20:41:55 +0000 |
commit | 69504c316cdb25bc2d97e27ea16b8e25ecdb9c35 (patch) | |
tree | 8f302e9785a11f346dc400928a39b9b5a1435bc7 /app-admin | |
parent | dev-python/jaraco-test: Keyword 5.3.0 for ~m68k (diff) | |
download | gentoo-69504c316cdb25bc2d97e27ea16b8e25ecdb9c35.tar.gz gentoo-69504c316cdb25bc2d97e27ea16b8e25ecdb9c35.tar.bz2 gentoo-69504c316cdb25bc2d97e27ea16b8e25ecdb9c35.zip |
app-admin/lnav: fix build w/ gcc 13
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/lnav/files/lnav-0.11.1-0001-Fix-build-with-GCC-13-add-missing-cstdint-include.patch | 26 | ||||
-rw-r--r-- | app-admin/lnav/lnav-0.11.1-r1.ebuild | 1 |
2 files changed, 27 insertions, 0 deletions
diff --git a/app-admin/lnav/files/lnav-0.11.1-0001-Fix-build-with-GCC-13-add-missing-cstdint-include.patch b/app-admin/lnav/files/lnav-0.11.1-0001-Fix-build-with-GCC-13-add-missing-cstdint-include.patch new file mode 100644 index 000000000000..0dffeeb9bdbb --- /dev/null +++ b/app-admin/lnav/files/lnav-0.11.1-0001-Fix-build-with-GCC-13-add-missing-cstdint-include.patch @@ -0,0 +1,26 @@ +https://github.com/tstack/lnav/pull/1112 + +From e25d3e3c69fcf57bbaec2333846b9a43c4d1fc90 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Sat, 21 Jan 2023 18:11:20 +0000 +Subject: [PATCH] Fix build with GCC 13 (add missing <cstdint> include) + +GCC 13 (as usual for new compiler releases) shuffles around some +internal includes and so <cstdint> is no longer transitively included. + +Explicitly include <cstdint> for uint32_t. + +Signed-off-by: Sam James <sam@gentoo.org> +--- a/src/base/lnav_log.hh ++++ b/src/base/lnav_log.hh +@@ -32,6 +32,7 @@ + #ifndef lnav_log_hh + #define lnav_log_hh + ++#include <cstdint> + #include <string> + + #include <stdio.h> +-- +2.39.1 + diff --git a/app-admin/lnav/lnav-0.11.1-r1.ebuild b/app-admin/lnav/lnav-0.11.1-r1.ebuild index ee120eaf93e0..2fe5510f0da9 100644 --- a/app-admin/lnav/lnav-0.11.1-r1.ebuild +++ b/app-admin/lnav/lnav-0.11.1-r1.ebuild @@ -36,6 +36,7 @@ DOCS=( AUTHORS NEWS.md README ) PATCHES=( "${FILESDIR}"/${PN}-0.11.0-disable-tests.patch + "${FILESDIR}"/0001-Fix-build-with-GCC-13-add-missing-cstdint-include.patch ) src_prepare() { |