summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kitinerary/files/kitinerary-22.12.0-gcc13.patch')
-rw-r--r--kde-apps/kitinerary/files/kitinerary-22.12.0-gcc13.patch24
1 files changed, 24 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