third_party/go: fix patch workaround for delve
Change-Id: I3d8197be119a6ca8fe4a71114c3a219c66fb5160
Reviewed-on: https://review.monogon.dev/c/monogon/+/3230
Tested-by: Jenkins CI
Reviewed-by: Leopold Schabel <leo@monogon.tech>
diff --git a/third_party/go/patches/delve-fix-cgo.patch b/third_party/go/patches/delve-fix-cgo.patch
index d8a5254..d0880fd 100644
--- a/third_party/go/patches/delve-fix-cgo.patch
+++ b/third_party/go/patches/delve-fix-cgo.patch
@@ -1,6 +1,6 @@
-diff -urN b/pkg/proc/internal/ebpf/BUILD.bazel c/pkg/proc/internal/ebpf/BUILD.bazel
---- b/pkg/proc/internal/ebpf/BUILD.bazel 2022-01-14 23:29:02.948089761 +0000
-+++ c/pkg/proc/internal/ebpf/BUILD.bazel 2022-01-14 23:13:52.964810803 +0000
+diff --git b/pkg/proc/internal/ebpf/BUILD.bazel c/pkg/proc/internal/ebpf/BUILD.bazel
+--- a/pkg/proc/internal/ebpf/BUILD.bazel
++++ b/pkg/proc/internal/ebpf/BUILD.bazel
@@ -7,6 +7,7 @@
"helpers.go",
"helpers_disabled.go",
diff --git a/third_party/go/repositories.bzl b/third_party/go/repositories.bzl
index 8d7fb10..ac32720 100644
--- a/third_party/go/repositories.bzl
+++ b/third_party/go/repositories.bzl
@@ -1806,8 +1806,6 @@
name = "com_github_go_delve_delve",
importpath = "github.com/go-delve/delve",
patch_args = ["-p1"],
- # https://github.com/bazelbuild/bazel-gazelle/issues/1424#issuecomment-1568744161
- patch_tool = "patch",
patches = [
"//third_party/go/patches:delve-fix-cgo.patch",
],