mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Sam James
parent
3e603730b7
commit
7988d3b88a
14
dev-cpp/jwt-cpp/files/jwt-cpp-0.6.0-gcc13.patch
Normal file
14
dev-cpp/jwt-cpp/files/jwt-cpp-0.6.0-gcc13.patch
Normal 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>
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user