Skip to content

Commit

Permalink
updpatch: vaultwarden 1.29.0-1
Browse files Browse the repository at this point in the history
Fix rotten patch.
  • Loading branch information
hack3ric authored and felixonmars committed Jul 13, 2023
1 parent 1888d1e commit 97080f5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vaultwarden/riscv64.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
--- PKGBUILD
+++ PKGBUILD
@@ -54,7 +54,12 @@ prepare() {
@@ -54,7 +54,15 @@ prepare() {
/^# ROCKET_TLS/a ROCKET_LIMITS={json=10485760}" .env.template

# download dependencies
- cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
+ echo -e "\n[patch.crates-io]\nring = { git = 'https://github.com/felixonmars/ring', branch = '0.16.20' }" >> Cargo.toml
+ sed -i \
+ -e '/\[patch\.crates-io\]/a\' \
+ -e 'ring = { git = "https://github.com/felixonmars/ring", branch = "0.16.20" }' \
+ Cargo.toml
+ cargo update -p ring
+ cargo fetch --locked
+
Expand Down

0 comments on commit 97080f5

Please sign in to comment.