Skip to content

Commit 7257e79

Browse files
committed
wrong patch
1 parent bc3db93 commit 7257e79

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

modules/upb/0.0.0-20230516-61a97ef/patches/0002-Add-utf8_range-dependency.patch

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
--- a/MODULE.bazel
2+
+++ b/MODULE.bazel
3+
@@ -9,3 +9,8 @@ bazel_dep(name = "protobuf", version = "23.1", repo_name = "com_google_protobuf"
4+
bazel_dep(name = "abseil-cpp", version = "20230802.0.bcr.1", repo_name = "com_google_absl")
5+
bazel_dep(name = "rules_pkg", version = "0.7.0")
6+
bazel_dep(name = "platforms", version = "0.0.5")
7+
+
8+
+# Do not take the effort to convert utf8_range to Bzlmod as this has been moved to protobuf/third_party
9+
+# See https://github.com/protocolbuffers/utf8_range/commit/1d1ea7e3fedf482d4a12b473c1ed25fe0f371a45
10+
+non_module_deps = use_extension("//:non_module_deps.bzl", "non_module_deps")
11+
+use_repo(non_module_deps, "utf8_range")
12+
diff --git a/non_module_deps.bzl b/non_module_deps.bzl
13+
new file mode 100644
14+
index 00000000..5cc13d7f
115
--- /dev/null
216
+++ b/non_module_deps.bzl
317
@@ -0,0 +1,19 @@

modules/upb/0.0.0-20240321-e7430e6/patches/0002-Add-utf8_range-dependency.patch

-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,3 @@
1-
--- a/MODULE.bazel
2-
+++ b/MODULE.bazel
3-
@@ -9,3 +9,8 @@ bazel_dep(name = "protobuf", version = "23.1", repo_name = "com_google_protobuf"
4-
bazel_dep(name = "abseil-cpp", version = "20230802.0.bcr.1", repo_name = "com_google_absl")
5-
bazel_dep(name = "rules_pkg", version = "0.7.0")
6-
bazel_dep(name = "platforms", version = "0.0.5")
7-
+
8-
+# Do not take the effort to convert utf8_range to Bzlmod as this has been moved to protobuf/third_party
9-
+# See https://github.com/protocolbuffers/utf8_range/commit/1d1ea7e3fedf482d4a12b473c1ed25fe0f371a45
10-
+non_module_deps = use_extension("//:non_module_deps.bzl", "non_module_deps")
11-
+use_repo(non_module_deps, "utf8_range")
12-
diff --git a/non_module_deps.bzl b/non_module_deps.bzl
13-
new file mode 100644
14-
index 00000000..5cc13d7f
151
--- /dev/null
162
+++ b/non_module_deps.bzl
173
@@ -0,0 +1,19 @@

0 commit comments

Comments
 (0)