Skip to content

Commit

Permalink
testing/ttyper: restore deleted patch
Browse files Browse the repository at this point in the history
this patch still applies, and is needed for Loongarch compatibility

it has been submitted upstream but is not included in version 1.5.0:
max-niederman/ttyper#128
  • Loading branch information
Celeste authored and Celeste committed Jun 13, 2024
1 parent 0682a19 commit 12bc7d9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testing/ttyper/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ url="https://github.com/max-niederman/ttyper/"
arch="all"
license="MIT"
makedepends="cargo cargo-auditable"
source="https://github.com/max-niederman/ttyper/archive/refs/tags/v$pkgver/ttyper-$pkgver.tar.gz"
source="https://github.com/max-niederman/ttyper/archive/refs/tags/v$pkgver/ttyper-$pkgver.tar.gz
cargo-update.patch
"

prepare() {
default_prepare
Expand All @@ -29,4 +31,5 @@ package() {

sha512sums="
ee21ec8a5d6c9b0d066d881de8f1170ad7a57a12329b66da51283f68a24002309d846e7206170e7d85cce3078c12bc425b656dae7f0043b8141e16e3b4c96931 ttyper-1.5.0.tar.gz
8393f46e6c9064e7669f2ad53a22381d2db92410da8cd1cff9f6055eeb0a9306facc88661b88c3b434e128828683073204fca827ae86e2296a5257234c6e0c5c cargo-update.patch
"
16 changes: 16 additions & 0 deletions testing/ttyper/cargo-update.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/Cargo.lock b/Cargo.lock
index 8ab2cc3..ce2e940 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -269,9 +269,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"

[[package]]
name = "libc"
-version = "0.2.153"
+version = "0.2.155"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
+checksum = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c"

[[package]]
name = "libredox"

0 comments on commit 12bc7d9

Please sign in to comment.