SHA256
1
0
forked from pool/bazel3.4
bazel3.4/bazel-3.4.1-gcc11.patch
Michał Rostecki 2d03e518ec Accepting request 891010 from home:rguenther:branches:devel:tools:building
- Add bazel-3.4.1-gcc11.patch to add #include that are no longer
  pulled implicitely by GCC 11 standard library.  [boo#1181864]

OBS-URL: https://build.opensuse.org/request/show/891010
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/bazel3.4?expand=0&rev=5
2021-05-06 12:39:00 +00:00

21 lines
623 B
Diff

--- third_party/ijar/zlib_client.h.orig 2021-05-06 14:14:59.479849964 +0200
+++ third_party/ijar/zlib_client.h 2021-05-06 14:20:15.235724889 +0200
@@ -15,6 +15,7 @@
#ifndef THIRD_PARTY_IJAR_ZLIB_CLIENT_H_
#define THIRD_PARTY_IJAR_ZLIB_CLIENT_H_
+#include <limits>
#include <limits.h>
#include "third_party/ijar/common.h"
--- ./third_party/ijar/mapped_file_unix.cc.orig 2021-05-06 14:24:39.106939003 +0200
+++ ./third_party/ijar/mapped_file_unix.cc 2021-05-06 14:24:46.599029982 +0200
@@ -19,6 +19,7 @@
#include <sys/mman.h>
#include <algorithm>
+#include <limits>
#include "third_party/ijar/mapped_file.h"