diff --git a/community/cicada/APKBUILD b/community/cicada/APKBUILD index afbd87b6e6070ba4669fdbb113919402549395b0..29543dabe864cab6c6a1d8c63a800d3c612aacb3 100644 --- a/community/cicada/APKBUILD +++ b/community/cicada/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Hugo Wang <w@mitnk.com> # Maintainer: Hugo Wang <w@mitnk.com> pkgname=cicada -pkgver=0.9.40 +pkgver=1.0.2 pkgrel=0 pkgdesc="A bash-like Unix shell" url="https://github.com/mitnk/cicada" @@ -38,7 +38,7 @@ package() { } sha512sums=" -ec8fe57c912d7ff647baf764020c2b4dd087c1b857dd85ad82eaf0db51b2ab209cb559092aad1989721f7fc03c54165ea2a4ec82366e98d82c974795a65a4baa cicada-0.9.40.tar.gz -5a68a11b8b91c0536655ed0af959db4d051ea6ecfeff80e7b335c53395321d5cc264d5485ac50c0d986f31a4c56e0d41624dfc2930cca51650ec0b4f8faa5f9a ulimit.patch -5a486de65f48628c0e205f5afb99010af0cf933fb37ce5509b9a6951ece9b6077597b66eabc0d58b998ccd09f24e63f5daac7481ae1e44e6d520f09d4052d51c unbundle-sqlite.patch +a8609a73c34035463e5724c7dbad01f00c76297f6a6626d9e73f1fcf03b2629c914f5ee8ba57d677c1dacd1e7ed8b087a69b0fff988dea55000469acebd8ec4e cicada-1.0.2.tar.gz +39cfbbccb7526418746bc6d4725bf4997065ed833da5001c9778f781c065b3f19fd9983f91474010327ba3a51ebf89524c07d17045e1a1646482f13550ce53d6 ulimit.patch +6418a168e37dc4a1cb75a53aef248d63f840b6ac21beb2a2466822a846a75a0b4fa9b0a6820ed7762affa5b2814d136fcc901706f608d75c020f99b7d0a60b5e unbundle-sqlite.patch " diff --git a/community/cicada/ulimit.patch b/community/cicada/ulimit.patch index 6b7719b586e65cf1042e7bd80bafae0f93832d29..cc4677197a5a938e1836ea41abc82deb6c9d0fb3 100644 --- a/community/cicada/ulimit.patch +++ b/community/cicada/ulimit.patch @@ -1,13 +1,13 @@ -On my Raspberry Pi box armv7, The values needed are u32. However seems for -Alpine 32bit systems, u64 is needed. +On armv7-unknown-linux-gnueabihf systems like RPi 3, The values needed are u32. +However for Alpine 32bit systems (using musl), u64 is needed. diff --git a/src/builtins/ulimit.rs b/src/builtins/ulimit.rs -index 8e7d59b..e99e7a3 100644 +index d528e10..d72510e 100644 --- a/src/builtins/ulimit.rs +++ b/src/builtins/ulimit.rs -@@ -160,15 +160,9 @@ fn set_limit(limit_name: &str, value: u64, for_hard: bool) -> String { - } +@@ -79,15 +79,9 @@ fn set_limit(limit_name: &str, value: u64, for_hard: bool) -> String { + // to support armv7-unknown-linux-gnueabihf if for_hard { - #[cfg(target_pointer_width = "32")] - { rlp.rlim_max = value as u32; } diff --git a/community/cicada/unbundle-sqlite.patch b/community/cicada/unbundle-sqlite.patch index b336ab7bff702619f4bd238c97b386bda253a86e..a41a95258dfc27074375a803b60d6343ebe4c438 100644 --- a/community/cicada/unbundle-sqlite.patch +++ b/community/cicada/unbundle-sqlite.patch @@ -1,8 +1,8 @@ diff --git a/Cargo.lock b/Cargo.lock -index 8782f78..c067c79 100644 +index 38195e9..3df98c7 100644 --- a/Cargo.lock +++ b/Cargo.lock -@@ -403,7 +403,6 @@ version = "0.30.1" +@@ -410,7 +410,6 @@ version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149" dependencies = [ @@ -11,10 +11,10 @@ index 8782f78..c067c79 100644 "vcpkg", ] diff --git a/Cargo.toml b/Cargo.toml -index 01fbdcd..f3e7af8 100644 +index 1a06cd4..cb04d96 100644 --- a/Cargo.toml +++ b/Cargo.toml -@@ -49,7 +49,6 @@ features = ["std"] +@@ -47,7 +47,6 @@ features = ["std", "derive", "help"] [dependencies.rusqlite] version = "0.32"