Blame capnproto-pr1613-g++13-header.patch
|
|
ae3f1ff |
From 583273d73b2462283b577770d7615ffe7be6666a Mon Sep 17 00:00:00 2001
|
|
|
ae3f1ff |
From: Heiko Becker <heirecka@exherbo.org>
|
|
|
ae3f1ff |
Date: Sun, 22 Jan 2023 22:27:37 +0100
|
|
|
ae3f1ff |
Subject: [PATCH 1/2] Fix build with gcc 13 by including <cstdint>
|
|
|
ae3f1ff |
|
|
|
ae3f1ff |
Like other versions before, gcc 13 moved some includes around and as
|
|
|
ae3f1ff |
a result <cstdint> is no longer transitively included. Explicitly
|
|
|
ae3f1ff |
include it for uint8_t.
|
|
|
ae3f1ff |
---
|
|
|
ae3f1ff |
c++/src/kj/string-test.c++ | 1 +
|
|
|
ae3f1ff |
1 file changed, 1 insertion(+)
|
|
|
ae3f1ff |
|
|
|
ae3f1ff |
diff --git a/c++/src/kj/string-test.c++ b/c++/src/kj/string-test.c++
|
|
|
ae3f1ff |
index 84f171363..dfd36ab80 100644
|
|
|
ae3f1ff |
--- a/c++/src/kj/string-test.c++
|
|
|
ae3f1ff |
+++ b/c++/src/kj/string-test.c++
|
|
|
ae3f1ff |
@@ -24,6 +24,7 @@
|
|
|
ae3f1ff |
#include <string>
|
|
|
ae3f1ff |
#include "vector.h"
|
|
|
ae3f1ff |
#include <locale.h>
|
|
|
ae3f1ff |
+#include <cstdint>
|
|
|
ae3f1ff |
|
|
|
ae3f1ff |
namespace kj {
|
|
|
ae3f1ff |
namespace _ { // private
|
|
|
ae3f1ff |
|
|
|
ae3f1ff |
From 940000d052753245c9fe1b0c71dfa7bd0d51183e Mon Sep 17 00:00:00 2001
|
|
|
ae3f1ff |
From: Kenton Varda <kenton@sandstorm.io>
|
|
|
ae3f1ff |
Date: Tue, 24 Jan 2023 15:17:31 -0600
|
|
|
ae3f1ff |
Subject: [PATCH 2/2] Update c++/src/kj/string-test.c++
|
|
|
ae3f1ff |
|
|
|
ae3f1ff |
---
|
|
|
ae3f1ff |
c++/src/kj/string-test.c++ | 2 +-
|
|
|
ae3f1ff |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
ae3f1ff |
|
|
|
ae3f1ff |
diff --git a/c++/src/kj/string-test.c++ b/c++/src/kj/string-test.c++
|
|
|
ae3f1ff |
index dfd36ab80..d70e37acf 100644
|
|
|
ae3f1ff |
--- a/c++/src/kj/string-test.c++
|
|
|
ae3f1ff |
+++ b/c++/src/kj/string-test.c++
|
|
|
ae3f1ff |
@@ -24,7 +24,7 @@
|
|
|
ae3f1ff |
#include <string>
|
|
|
ae3f1ff |
#include "vector.h"
|
|
|
ae3f1ff |
#include <locale.h>
|
|
|
ae3f1ff |
-#include <cstdint>
|
|
|
ae3f1ff |
+#include <stdint.h>
|
|
|
ae3f1ff |
|
|
|
ae3f1ff |
namespace kj {
|
|
|
ae3f1ff |
namespace _ { // private
|