forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bazel: Update protobuf and other needed dependencies (envoyproxy#8196)
This change updated the following dependencies: - protobuf - 3.9.1 - grpc - 1.22.1 And introduces the new dependencies, needed by the new protobuf: - rules_proto Risk Level: Medium Testing: Unit and integration tests. Docs Changes: N/A Release Notes: N/A Signed-off-by: Michal Rostecki <[email protected]>
- Loading branch information
1 parent
a21abc3
commit 8b02e74
Showing
3 changed files
with
40 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,13 @@ | ||
diff --git a/src/google/protobuf/stubs/strutil.cc b/src/google/protobuf/stubs/strutil.cc | ||
index 3844fa6b8b..5486887295 100644 | ||
--- a/src/google/protobuf/stubs/strutil.cc | ||
+++ b/src/google/protobuf/stubs/strutil.cc | ||
@@ -1065,10 +1065,12 @@ char* FastUInt32ToBufferLeft(uint32 u, char* buffer) { | ||
} | ||
|
||
char* FastInt32ToBufferLeft(int32 i, char* buffer) { | ||
- uint32 u = i; | ||
+ uint32 u = 0; | ||
if (i < 0) { | ||
*buffer++ = '-'; | ||
- u = -i; | ||
+ u -= i; | ||
+ } else { | ||
+ u = i; | ||
} | ||
return FastUInt32ToBufferLeft(u, buffer); | ||
} | ||
|
||
diff --git a/BUILD b/BUILD | ||
index 6665de94..55f28582 100644 | ||
--- a/BUILD | ||
+++ b/BUILD | ||
@@ -19,6 +19,6 @@ config_setting( | ||
@@ -19,7 +19,7 @@ config_setting( | ||
# ZLIB configuration | ||
################################################################################ | ||
|
||
-ZLIB_DEPS = ["@zlib//:zlib"] | ||
+ZLIB_DEPS = ["//external:zlib"] | ||
|
||
################################################################################ | ||
# Protobuf Runtime Library | ||
# Protobuf Runtime Library |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters