Skip to content

Commit 33f4ec9

Browse files
laramielcopybara-github
authored andcommitted
Update libcurl to 8.7.1+patch
curl/curl#13403 patch: curl/curl#13210 PiperOrigin-RevId: 626160500 Change-Id: I43a2da9511539188fee56a869a798790ef6fc274
1 parent 912f7ca commit 33f4ec9

File tree

2 files changed

+24
-4
lines changed

2 files changed

+24
-4
lines changed
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
diff --git a/lib/cf-socket.c b/lib/cf-socket.c
2+
index 1de5100062742a..a5feb6b95ab2b6 100644
3+
--- a/lib/cf-socket.c
4+
+++ b/lib/cf-socket.c
5+
@@ -946,8 +946,8 @@ static CURLcode set_local_ip(struct Curl_cfilter *cf,
6+
}
7+
#else
8+
(void)data;
9+
- ctx->l_ip[0] = 0;
10+
- ctx->l_port = -1;
11+
+ ctx->ip.local_ip[0] = 0;
12+
+ ctx->ip.local_port = -1;
13+
#endif
14+
return CURLE_OK;
15+
}

third_party/se_curl/workspace.bzl

+9-4
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,17 @@ def repo():
2222
maybe(
2323
third_party_http_archive,
2424
name = "se_curl",
25-
strip_prefix = "curl-8.4.0",
25+
strip_prefix = "curl-8.7.1",
2626
urls = [
27-
"https://storage.googleapis.com/tensorstore-bazel-mirror/curl.se/download/curl-8.4.0.tar.gz",
28-
"https://curl.se/download/curl-8.4.0.tar.gz",
27+
"https://storage.googleapis.com/tensorstore-bazel-mirror/curl.se/download/curl-8.7.1.tar.gz",
28+
"https://curl.se/download/curl-8.7.1.tar.gz",
2929
],
30-
sha256 = "816e41809c043ff285e8c0f06a75a1fa250211bbfb2dc0a037eeef39f1a9e427",
30+
patches = [
31+
# protobuf uses rules_python, but we just use the native python rules.
32+
Label("//third_party:se_curl/patches/13210.diff"),
33+
],
34+
patch_args = ["-p1"],
35+
sha256 = "f91249c87f68ea00cf27c44fdfa5a78423e41e71b7d408e5901a9896d905c495",
3136
build_file = Label("//third_party:se_curl/curl.BUILD.bazel"),
3237
system_build_file = Label("//third_party:se_curl/system.BUILD.bazel"),
3338
cmake_name = "CURL",

0 commit comments

Comments
 (0)