summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-11 16:32:51 +0000
committerSam James <sam@gentoo.org>2022-12-11 16:32:51 +0000
commitf8d5d904f7c1ecb8b45633ceda8d621d7b35f322 (patch)
tree9fa0a00f176a8ddc3f31c846da1e5c8a233a7d30 /kde-apps
parentsys-auth/pambase: add gentoo, github upstream metadata (diff)
downloadgentoo-f8d5d904f7c1ecb8b45633ceda8d621d7b35f322.tar.gz
gentoo-f8d5d904f7c1ecb8b45633ceda8d621d7b35f322.tar.bz2
gentoo-f8d5d904f7c1ecb8b45633ceda8d621d7b35f322.zip
kde-apps/kitinerary: fix build w/ gcc 13
Closes: https://bugs.gentoo.org/885423 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kitinerary/files/kitinerary-22.12.0-gcc13.patch24
-rw-r--r--kde-apps/kitinerary/kitinerary-22.12.0.ebuild4
2 files changed, 28 insertions, 0 deletions
diff --git a/kde-apps/kitinerary/files/kitinerary-22.12.0-gcc13.patch b/kde-apps/kitinerary/files/kitinerary-22.12.0-gcc13.patch
new file mode 100644
index 000000000000..09c88c8b5250
--- /dev/null
+++ b/kde-apps/kitinerary/files/kitinerary-22.12.0-gcc13.patch
@@ -0,0 +1,24 @@
+https://invent.kde.org/pim/kitinerary/-/commit/0ef772c3e0ff8f049f299ad14b3c65327e4fe69e
+
+From: Sam James <sam@gentoo.org>
+Date: Sun, 11 Dec 2022 13:29:11 +0000
+Subject: [PATCH] asn1: 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 uint8_t.
+
+Bug: https://bugs.gentoo.org/885423
+--- a/src/lib/asn1/bitvectorview.h
++++ b/src/lib/asn1/bitvectorview.h
+@@ -8,6 +8,7 @@
+
+ #include <bitset>
+ #include <cassert>
++#include <cstdint>
+ #include <string_view>
+ #include <type_traits>
+
+--
+GitLab
diff --git a/kde-apps/kitinerary/kitinerary-22.12.0.ebuild b/kde-apps/kitinerary/kitinerary-22.12.0.ebuild
index 4a1fc4ec13ff..a3c4d410f6f1 100644
--- a/kde-apps/kitinerary/kitinerary-22.12.0.ebuild
+++ b/kde-apps/kitinerary/kitinerary-22.12.0.ebuild
@@ -38,6 +38,10 @@ DEPEND="
RDEPEND="${DEPEND}"
BDEPEND="x11-misc/shared-mime-info"
+PATCHES=(
+ "${FILESDIR}"/${PN}-22.12.0-gcc13.patch
+)
+
src_configure() {
local mycmakeargs=(
# sci-geosciences/osmctools; TODO: useful at all?