1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

x11/swayr: update to 0.6.0

Changes:	https://git.sr.ht/~tsdh/swayr/log/v0.6.0
Reported by:	/r/swaywm
This commit is contained in:
Jan Beich 2021-07-14 16:23:58 +00:00
parent aca5d3ec9b
commit 623b1d058a
3 changed files with 7 additions and 69 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= swayr
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.1
DISTVERSION= 0.6.0
CATEGORIES= x11
MASTER_SITES= https://git.sr.ht/~tsdh/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
# XXX Teach USES=cargo to not override default DISTFILES
@ -32,7 +32,7 @@ CARGO_CRATES= aho-corasick-0.7.18 \
indexmap-1.7.0 \
itoa-0.4.7 \
lazy_static-1.4.0 \
libc-0.2.97 \
libc-0.2.98 \
memchr-2.4.0 \
os_str_bytes-2.4.0 \
proc-macro-error-1.0.4 \

View File

@ -1,6 +1,6 @@
TIMESTAMP = 1625515049
SHA256 (swayr-v0.5.1.tar.gz) = e1cf96ae843a3f9ea7ad467fc3ae77fa981c381b324c5e5e6aebf1d69ac14d41
SIZE (swayr-v0.5.1.tar.gz) = 919223
TIMESTAMP = 1626279838
SHA256 (swayr-v0.6.0.tar.gz) = 61ac3c63fed35c927e0d4cf33c497cbd6d8833eb287dcc04e6ba9b67d132788b
SIZE (swayr-v0.6.0.tar.gz) = 922289
SHA256 (rust/crates/aho-corasick-0.7.18.crate) = 1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f
SIZE (rust/crates/aho-corasick-0.7.18.crate) = 112923
SHA256 (rust/crates/atty-0.2.14.crate) = d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8
@ -33,8 +33,8 @@ SHA256 (rust/crates/itoa-0.4.7.crate) = dd25036021b0de88a0aff6b850051563c6516d0b
SIZE (rust/crates/itoa-0.4.7.crate) = 12099
SHA256 (rust/crates/lazy_static-1.4.0.crate) = e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646
SIZE (rust/crates/lazy_static-1.4.0.crate) = 10443
SHA256 (rust/crates/libc-0.2.97.crate) = 12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6
SIZE (rust/crates/libc-0.2.97.crate) = 517712
SHA256 (rust/crates/libc-0.2.98.crate) = 320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790
SIZE (rust/crates/libc-0.2.98.crate) = 522087
SHA256 (rust/crates/memchr-2.4.0.crate) = b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc
SIZE (rust/crates/memchr-2.4.0.crate) = 63392
SHA256 (rust/crates/os_str_bytes-2.4.0.crate) = afb2e1c3ee07430c2cf76151675e583e0f19985fa6efae47d6848a3e2c824f85

View File

@ -1,62 +0,0 @@
--- cargo-crates/libc-0.2.97/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
+++ cargo-crates/libc-0.2.97/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.97/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
+++ cargo-crates/libc-0.2.97/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