~ruther/guix-local

ref: 5530b2112afc01e2e6d04a1b01fa9295d6ac4a1d guix-local/gnu/packages/patches/llvm-8-missing-include.patch -rw-r--r-- 507 bytes
5530b211 — Efraim Flashner gnu: Add rust-forgejo-api-0.5. 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Add missing include statement for compatibility with libstdc++ 11.

Taken from upstream:

  https://github.com/llvm/llvm-project/commit/b498303066a63a203d24f739b2d2e0e56dca70d1

diff --git a/utils/benchmark/src/benchmark_register.h b/utils/benchmark/src/benchmark_register.h
--- a/utils/benchmark/src/benchmark_register.h
+++ b/utils/benchmark/src/benchmark_register.h
@@ -1,6 +1,7 @@
 #ifndef BENCHMARK_REGISTER_H
 #define BENCHMARK_REGISTER_H
 
+#include <limits>
 #include <vector>
 
 #include "check.h"