Skip to content

Commit

Permalink
upgpatch: consul
Browse files Browse the repository at this point in the history
Fix module pathes by adding another replace directive, as explained in etcd-io/bbolt#211 (comment)
  • Loading branch information
kxxt committed Jul 31, 2023
1 parent 11c7e03 commit 9cbc810
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions consul/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
diff --git PKGBUILD PKGBUILD
index 6bdeeb3d..ffceab60 100644
--- PKGBUILD
+++ PKGBUILD
@@ -34,8 +34,8 @@ export CGO_CXXFLAGS="${CXXFLAGS}"
Expand All @@ -13,12 +11,13 @@ index 6bdeeb3d..ffceab60 100644

prepare() {
cd "${srcdir}/${pkgname}"
@@ -48,6 +48,9 @@ prepare() {
@@ -48,6 +48,10 @@ prepare() {
done

mkdir -p build
+
+ go mod edit -replace=github.com/boltdb/bolt=go.etcd.io/[email protected]
+ go mod edit -replace=go.etcd.io/bbolt=github.com/coreos/[email protected]
+ go mod tidy
}

Expand Down

0 comments on commit 9cbc810

Please sign in to comment.