dev-cpp/jwt-cpp: add patch for gcc 13

Closes: https://bugs.gentoo.org/908497
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/31438
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Oliver Freyermuth
2023-06-14 21:31:01 +02:00
committed by Sam James
parent 3e603730b7
commit 7988d3b88a
2 changed files with 17 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
From: Hannu Lounento <hannu.lounento@vaisala.com>
Bug: https://github.com/Thalhammer/jwt-cpp/pull/287
Fix build with GCC 13.
--- a/include/jwt-cpp/base.h
+++ b/include/jwt-cpp/base.h
@@ -3,6 +3,7 @@
#include <array>
+#include <cstdint>
#include <stdexcept>
#include <string>

View File

@@ -34,6 +34,9 @@ RESTRICT="
!picojson? ( test )
!test? ( test )
"
PATCHES=(
"${FILESDIR}"/"${PN}"-0.6.0-gcc13.patch
)
DOCS=( README.md docs/{faqs,ssl,traits}.md )
src_prepare() {