~ruther/guix-local

ref: e68ec94fdb4c00a950480e845bc3746d6f01ce97 guix-local/gnu/packages/patches/jsonnet-include-cstdint-for-gcc-13-builds.patch -rw-r--r-- 793 bytes
e68ec94f — Christopher Baines gnu: guix-build-coordinator: Update to 0-136.a1c18b1. a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From e43ca8e958d129094bec58fe06a87be1358aaf42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?W=C3=81NG=20Xu=C4=9Bru=C3=AC?=
 <1175567+xen0n@users.noreply.github.com>
Date: Wed, 19 Oct 2022 11:15:43 +0800
Subject: [PATCH] Add #include <cstdint> for gcc-13 builds (#1020)

See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes.

This fixes Gentoo bug https://bugs.gentoo.org/875569.
---
 include/libjsonnet++.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/libjsonnet++.h b/include/libjsonnet++.h
index b744b31..ed14f31 100644
--- a/include/libjsonnet++.h
+++ b/include/libjsonnet++.h
@@ -17,6 +17,7 @@ limitations under the License.
 #ifndef CPP_JSONNET_H_
 #define CPP_JSONNET_H_
 
+#include <cstdint>
 #include <cstring>
 #include <functional>
 #include <map>
-- 
2.51.0