public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/jwt-cpp/, dev-cpp/jwt-cpp/files/
@ 2023-06-14 19:42 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2023-06-14 19:42 UTC (permalink / raw
  To: gentoo-commits

commit:     7988d3b88a7b4ec99a57886f2ec8bed6fc7a2b45
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Wed Jun 14 19:31:01 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 14 19:41:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7988d3b8

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

Closes: https://bugs.gentoo.org/908497
Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/31438
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/jwt-cpp/files/jwt-cpp-0.6.0-gcc13.patch | 14 ++++++++++++++
 dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild            |  3 +++
 2 files changed, 17 insertions(+)

diff --git a/dev-cpp/jwt-cpp/files/jwt-cpp-0.6.0-gcc13.patch b/dev-cpp/jwt-cpp/files/jwt-cpp-0.6.0-gcc13.patch
new file mode 100644
index 000000000000..3fef24536a86
--- /dev/null
+++ b/dev-cpp/jwt-cpp/files/jwt-cpp-0.6.0-gcc13.patch
@@ -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>
+ 

diff --git a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
index c7f9802a739a..8d2bc1f2fe86 100644
--- a/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
+++ b/dev-cpp/jwt-cpp/jwt-cpp-0.6.0.ebuild
@@ -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() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-14 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-14 19:42 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/jwt-cpp/, dev-cpp/jwt-cpp/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox