From ce53d709cec0ce693f1109de5cf05b25bf0fd0b8 Mon Sep 17 00:00:00 2001 From: maleo Date: Thu, 11 Jul 2024 12:39:49 +0000 Subject: [PATCH] Disable layering check for macOS --- .../1.65.0/patches/disable-layering-check.patch | 13 +++++++++++++ modules/grpc/1.65.0/source.json | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 modules/grpc/1.65.0/patches/disable-layering-check.patch diff --git a/modules/grpc/1.65.0/patches/disable-layering-check.patch b/modules/grpc/1.65.0/patches/disable-layering-check.patch new file mode 100644 index 00000000000..e6de461ce33 --- /dev/null +++ b/modules/grpc/1.65.0/patches/disable-layering-check.patch @@ -0,0 +1,13 @@ +diff --git a/src/core/BUILD b/src/core/BUILD +index 757aaad95b..de60930421 100644 +--- a/src/core/BUILD ++++ b/src/core/BUILD +@@ -25,7 +25,7 @@ licenses(["reciprocal"]) + package( + default_visibility = ["//:__subpackages__"], + features = [ +- "layering_check", ++ "-layering_check", + ], + ) + diff --git a/modules/grpc/1.65.0/source.json b/modules/grpc/1.65.0/source.json index 4540b113924..6530a124103 100644 --- a/modules/grpc/1.65.0/source.json +++ b/modules/grpc/1.65.0/source.json @@ -5,6 +5,7 @@ "patch_strip": 1, "patches": { "add_module_bazel.patch": "sha256-MASGzFiPj53S1c6CgHyYuLD0XXklG95eABIZLhdZGk8=", - "adopt_bzlmod.patch": "sha256-xj3GrXJKe+M3L/Jukz8a4eRTcnSuKIIwh8BnyTomNRw=" + "adopt_bzlmod.patch": "sha256-xj3GrXJKe+M3L/Jukz8a4eRTcnSuKIIwh8BnyTomNRw=", + "disable-layering-check.patch": "sha256-v3IG7eZiEgWJ7hoaE1zRvXdSEjxbfPFIEIZrTEwt4IU=" } }