diff --git a/third_party/org_golang_x_sys-gazelle.patch b/third_party/org_golang_x_sys-gazelle.patch index 389982dcab..b6ee36d416 100644 --- a/third_party/org_golang_x_sys-gazelle.patch +++ b/third_party/org_golang_x_sys-gazelle.patch @@ -503,7 +503,7 @@ diff -urN a/unix/internal/mkmerge/BUILD.bazel b/unix/internal/mkmerge/BUILD.baze diff -urN a/windows/BUILD.bazel b/windows/BUILD.bazel --- a/windows/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000 +++ b/windows/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,60 @@ +@@ -0,0 +1,53 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -535,12 +535,6 @@ diff -urN a/windows/BUILD.bazel b/windows/BUILD.bazel + ], + importpath = "golang.org/x/sys/windows", + visibility = ["//visibility:public"], -+ deps = select({ -+ "@io_bazel_rules_go//go/platform:windows": [ -+ "//internal/unsafeheader", -+ ], -+ "//conditions:default": [], -+ }), +) + +alias( @@ -559,7 +553,6 @@ diff -urN a/windows/BUILD.bazel b/windows/BUILD.bazel + deps = select({ + "@io_bazel_rules_go//go/platform:windows": [ + ":windows", -+ "//internal/unsafeheader", + ], + "//conditions:default": [], + }), @@ -629,7 +622,7 @@ diff -urN a/windows/registry/BUILD.bazel b/windows/registry/BUILD.bazel diff -urN a/windows/svc/BUILD.bazel b/windows/svc/BUILD.bazel --- a/windows/svc/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000 +++ b/windows/svc/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,36 @@ +@@ -0,0 +1,35 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -642,7 +635,6 @@ diff -urN a/windows/svc/BUILD.bazel b/windows/svc/BUILD.bazel + visibility = ["//visibility:public"], + deps = select({ + "@io_bazel_rules_go//go/platform:windows": [ -+ "//internal/unsafeheader", + "//windows", + ], + "//conditions:default": [], @@ -768,7 +760,7 @@ diff -urN a/windows/svc/example/BUILD.bazel b/windows/svc/example/BUILD.bazel diff -urN a/windows/svc/mgr/BUILD.bazel b/windows/svc/mgr/BUILD.bazel --- a/windows/svc/mgr/BUILD.bazel 1970-01-01 00:00:00.000000000 +0000 +++ b/windows/svc/mgr/BUILD.bazel 2000-01-01 00:00:00.000000000 -0000 -@@ -0,0 +1,40 @@ +@@ -0,0 +1,39 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( @@ -783,7 +775,6 @@ diff -urN a/windows/svc/mgr/BUILD.bazel b/windows/svc/mgr/BUILD.bazel + visibility = ["//visibility:public"], + deps = select({ + "@io_bazel_rules_go//go/platform:windows": [ -+ "//internal/unsafeheader", + "//windows", + "//windows/svc", + ],