lol

bazel_3: fix build with gcc11

betaboon 51114edb 89cb8c91

+26
+2
pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
··· 186 186 # we accept this fact because xcode_locator is only a short-lived process used during the build. 187 187 ./no-arc.patch 188 188 189 + ./gcc11.patch 190 + 189 191 # --experimental_strict_action_env (which may one day become the default 190 192 # see bazelbuild/bazel#2574) hardcodes the default 191 193 # action environment to a non hermetic value (e.g. "/usr/local/bin").
+24
pkgs/development/tools/build-managers/bazel/bazel_3/gcc11.patch
··· 1 + diff --git a/third_party/ijar/mapped_file_unix.cc b/third_party/ijar/mapped_file_unix.cc 2 + index 6e3a908..030e9ca 100644 3 + --- a/third_party/ijar/mapped_file_unix.cc 4 + +++ b/third_party/ijar/mapped_file_unix.cc 5 + @@ -19,6 +19,7 @@ 6 + #include <sys/mman.h> 7 + 8 + #include <algorithm> 9 + +#include <limits> 10 + 11 + #include "third_party/ijar/mapped_file.h" 12 + 13 + diff --git a/third_party/ijar/zlib_client.h b/third_party/ijar/zlib_client.h 14 + index ed66163..c4b051e 100644 15 + --- a/third_party/ijar/zlib_client.h 16 + +++ b/third_party/ijar/zlib_client.h 17 + @@ -16,6 +16,7 @@ 18 + #define THIRD_PARTY_IJAR_ZLIB_CLIENT_H_ 19 + 20 + #include <limits.h> 21 + +#include <limits> 22 + 23 + #include "third_party/ijar/common.h" 24 +