Skip to content
Snippets Groups Projects
Commit 2ee331de authored by Andrey Cherkashin's avatar Andrey Cherkashin Committed by Mikael Urankar
Browse files

sysutils/lsd: Update to 0.23.1

parent e14a0487
No related branches found
No related tags found
No related merge requests found
PORTNAME= lsd
DISTVERSION= 0.20.1
PORTREVISION= 17
DISTVERSION= 0.23.1
CATEGORIES= sysutils
MAINTAINER= andoriyu@gmail.com
......@@ -14,104 +13,126 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= Peltoche
CARGO_CRATES= aho-corasick-0.7.13 \
ansi_term-0.11.0 \
ansi_term-0.12.1 \
arrayref-0.3.6 \
arrayvec-0.5.1 \
assert_cmd-1.0.1 \
assert_fs-1.0.0 \
atty-0.2.14 \
autocfg-1.0.1 \
base64-0.12.3 \
bitflags-1.2.1 \
blake2b_simd-0.5.10 \
bstr-0.2.13 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
chrono-0.4.15 \
chrono-humanize-0.1.1 \
clap-2.33.3 \
constant_time_eq-0.1.5 \
crossbeam-utils-0.7.2 \
difference-2.0.0 \
dirs-3.0.1 \
dirs-sys-0.3.5 \
doc-comment-0.3.3 \
dtoa-0.4.6 \
float-cmp-0.8.0 \
fnv-1.0.7 \
getrandom-0.1.15 \
glob-0.3.0 \
globset-0.4.5 \
globwalk-0.7.3 \
hermit-abi-0.1.16 \
human-sort-0.2.2 \
ignore-0.4.16 \
instant-0.1.9 \
lazy_static-1.4.0 \
libc-0.2.77 \
linked-hash-map-0.5.3 \
lock_api-0.4.2 \
log-0.4.11 \
lscolors-0.7.1 \
memchr-2.3.3 \
normalize-line-endings-0.3.0 \
num-integer-0.1.43 \
num-traits-0.2.12 \
parking_lot-0.11.1 \
parking_lot_core-0.8.2 \
ppv-lite86-0.2.9 \
predicates-1.0.5 \
predicates-core-1.0.0 \
predicates-tree-1.0.0 \
proc-macro2-1.0.24 \
quote-1.0.7 \
rand-0.7.3 \
rand_chacha-0.2.2 \
rand_core-0.5.1 \
rand_hc-0.2.0 \
redox_syscall-0.1.57 \
redox_users-0.3.5 \
regex-1.3.9 \
regex-syntax-0.6.18 \
remove_dir_all-0.5.3 \
rust-argon2-0.8.2 \
same-file-1.0.6 \
scopeguard-1.1.0 \
serde-1.0.117 \
serde_derive-1.0.117 \
serde_yaml-0.8.13 \
serial_test-0.5.1 \
serial_test_derive-0.5.1 \
smallvec-1.6.1 \
strsim-0.8.0 \
syn-1.0.48 \
tempfile-3.1.0 \
term_grid-0.1.7 \
term_size-0.3.2 \
terminal_size-0.1.13 \
textwrap-0.11.0 \
thread_local-1.0.1 \
time-0.1.44 \
treeline-0.1.0 \
unicode-width-0.1.8 \
unicode-xid-0.2.1 \
users-0.11.0 \
vec_map-0.8.2 \
version_check-0.9.2 \
wait-timeout-0.2.0 \
walkdir-2.3.1 \
wasi-0.9.0+wasi-snapshot-preview1 \
wasi-0.10.0+wasi-snapshot-preview1 \
wild-2.0.4 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
xdg-2.1.0 \
yaml-rust-0.4.4
CARGO_CRATES= aho-corasick-0.7.18 \
ansi_term-0.12.1 \
assert_cmd-1.0.8 \
assert_fs-1.0.7 \
atty-0.2.14 \
autocfg-1.1.0 \
bitflags-1.3.2 \
bstr-0.2.17 \
cfg-if-1.0.0 \
chrono-0.4.19 \
chrono-humanize-0.1.2 \
clap-3.2.17 \
clap_complete-3.2.4 \
clap_lex-0.2.4 \
crossbeam-utils-0.8.8 \
crossterm-0.24.0 \
crossterm_winapi-0.9.0 \
difference-2.0.0 \
difflib-0.4.0 \
dirs-3.0.2 \
dirs-sys-0.3.7 \
doc-comment-0.3.3 \
either-1.6.1 \
fastrand-1.7.0 \
float-cmp-0.8.0 \
fnv-1.0.7 \
getrandom-0.2.5 \
glob-0.3.0 \
globset-0.4.8 \
globwalk-0.8.1 \
hashbrown-0.11.2 \
hermit-abi-0.1.19 \
human-sort-0.2.2 \
idna-0.2.3 \
ignore-0.4.18 \
indexmap-1.8.0 \
instant-0.1.12 \
itertools-0.10.3 \
lazy_static-1.4.0 \
libc-0.2.121 \
linked-hash-map-0.5.4 \
lock_api-0.4.6 \
log-0.4.16 \
lscolors-0.9.0 \
matches-0.1.9 \
memchr-2.4.1 \
mio-0.8.4 \
normalize-line-endings-0.3.0 \
num-integer-0.1.44 \
num-traits-0.2.14 \
once_cell-1.10.0 \
os_str_bytes-6.3.0 \
parking_lot-0.11.2 \
parking_lot-0.12.1 \
parking_lot_core-0.8.5 \
parking_lot_core-0.9.3 \
percent-encoding-2.1.0 \
predicates-1.0.8 \
predicates-2.1.1 \
predicates-core-1.0.3 \
predicates-tree-1.0.5 \
proc-macro2-1.0.36 \
quote-1.0.17 \
redox_syscall-0.2.12 \
redox_users-0.4.2 \
regex-1.5.5 \
regex-automata-0.1.10 \
regex-syntax-0.6.25 \
remove_dir_all-0.5.3 \
ryu-1.0.9 \
same-file-1.0.6 \
scopeguard-1.1.0 \
serde-1.0.136 \
serde_derive-1.0.136 \
serde_yaml-0.8.23 \
serial_test-0.5.1 \
serial_test_derive-0.5.1 \
signal-hook-0.3.14 \
signal-hook-mio-0.2.3 \
signal-hook-registry-1.4.0 \
smallvec-1.8.0 \
strsim-0.10.0 \
syn-1.0.89 \
tempfile-3.3.0 \
term_grid-0.1.7 \
termcolor-1.1.3 \
terminal_size-0.1.17 \
termtree-0.2.4 \
textwrap-0.15.0 \
thiserror-1.0.30 \
thiserror-impl-1.0.30 \
thread_local-1.1.4 \
time-0.1.43 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.0 \
unicode-bidi-0.3.8 \
unicode-normalization-0.1.19 \
unicode-width-0.1.9 \
unicode-xid-0.2.2 \
url-2.1.1 \
users-0.11.0 \
version_check-0.9.4 \
wait-timeout-0.2.0 \
walkdir-2.3.2 \
wasi-0.10.2+wasi-snapshot-preview1 \
wasi-0.11.0+wasi-snapshot-preview1 \
wild-2.0.4 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-sys-0.36.1 \
windows_aarch64_msvc-0.36.1 \
windows_i686_gnu-0.36.1 \
windows_i686_msvc-0.36.1 \
windows_x86_64_gnu-0.36.1 \
windows_x86_64_msvc-0.36.1 \
xattr-0.2.2 \
xdg-2.1.0 \
yaml-rust-0.4.5
PLIST_FILES= bin/lsd
post-install:
......
This diff is collapsed.
--- cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
+++ cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -1486,6 +1486,9 @@ cfg_if! {
} else if #[cfg(target_arch = "powerpc64")] {
mod powerpc64;
pub use self::powerpc64::*;
+ } else if #[cfg(target_arch = "powerpc")] {
+ mod powerpc;
+ pub use self::powerpc::*;
} else {
// Unknown target_arch
}
--- cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
+++ cargo-crates/libc-0.2.77/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
@@ -0,0 +1,47 @@
+pub type c_char = u8;
+pub type c_long = i32;
+pub type c_ulong = u32;
+pub type wchar_t = i32;
+pub type time_t = i64;
+pub type suseconds_t = i32;
+pub type register_t = i32;
+
+s! {
+ pub struct stat {
+ pub st_dev: ::dev_t,
+ pub st_ino: ::ino_t,
+ pub st_mode: ::mode_t,
+ pub st_nlink: ::nlink_t,
+ pub st_uid: ::uid_t,
+ pub st_gid: ::gid_t,
+ pub st_rdev: ::dev_t,
+ pub st_atime: ::time_t,
+ pub st_atime_nsec: ::c_long,
+ pub st_mtime: ::time_t,
+ pub st_mtime_nsec: ::c_long,
+ pub st_ctime: ::time_t,
+ pub st_ctime_nsec: ::c_long,
+ pub st_size: ::off_t,
+ pub st_blocks: ::blkcnt_t,
+ pub st_blksize: ::blksize_t,
+ pub st_flags: ::fflags_t,
+ pub st_gen: u32,
+ pub st_lspare: i32,
+ pub st_birthtime: ::time_t,
+ pub st_birthtime_nsec: ::c_long,
+ }
+}
+
+// should be pub(crate), but that requires Rust 1.18.0
+cfg_if! {
+ if #[cfg(libc_const_size_of)] {
+ #[doc(hidden)]
+ pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_int>() - 1;
+ } else {
+ #[doc(hidden)]
+ pub const _ALIGNBYTES: usize = 4 - 1;
+ }
+}
+
+pub const MAP_32BIT: ::c_int = 0x00080000;
+pub const MINSIGSTKSZ: ::size_t = 2048; // 512 * 4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment