aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/leftwm/files
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-11-16 12:03:58 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-11-16 12:03:58 +0000
commit3eeb7bc4b506dadb128c6a16f03d9b27e7d807a0 (patch)
tree08b22058d31c7cd2d1a3b032af5455799c088946 /x11-wm/leftwm/files
parent345e2695c393dc7ccbfedb4787d842616d2c65dc (diff)
downloadports-3eeb7bc4b506dadb128c6a16f03d9b27e7d807a0.tar.gz
ports-3eeb7bc4b506dadb128c6a16f03d9b27e7d807a0.zip
x11-wm/leftwm: fix build on powerpc
error[E0432]: unresolved imports `core::sync::atomic::AtomicI64`, `core::sync::atomic::AtomicU64` --> /wrkdirs/usr/ports/x11-wm/leftwm/work/leftwm-0.2.9/cargo-crates/crossbeam-utils-0.8.5/src/lib.rs:79:49 | 79 | pub(crate) use core::sync::atomic::{AtomicI64, AtomicU64}; | ^^^^^^^^^ ^^^^^^^^^ no `AtomicU64` in `sync::atomic` | | | no `AtomicI64` in `sync::atomic` | help: a similar name exists in the module | 79 | pub(crate) use core::sync::atomic::{AtomicI8, AtomicU64}; | ~~~~~~~~ help: a similar name exists in the module | 79 | pub(crate) use core::sync::atomic::{AtomicI64, AtomicU8}; | ~~~~~~~~ error[E0412]: cannot find type `AtomicU64` in module `core::sync::atomic` --> /wrkdirs/usr/ports/x11-wm/leftwm/work/leftwm-0.2.9/cargo-crates/crossbeam-utils-0.8.5/src/atomic/consume.rs:78:14 | 78 | impl_atomic!(AtomicU64, u64); | ^^^^^^^^^ help: a struct with a similar name exists: `AtomicU16` error[E0412]: cannot find type `AtomicI64` in module `core::sync::atomic` --> /wrkdirs/usr/ports/x11-wm/leftwm/work/leftwm-0.2.9/cargo-crates/crossbeam-utils-0.8.5/src/atomic/consume.rs:80:14 | 80 | impl_atomic!(AtomicI64, i64); | ^^^^^^^^^ help: a struct with a similar name exists: `AtomicI16` Some errors have detailed explanations: E0412, E0432. For more information about an error, try `rustc --explain E0412`. error: could not compile `crossbeam-utils` due to 3 previous errors
Diffstat (limited to 'x11-wm/leftwm/files')
-rw-r--r--x11-wm/leftwm/files/patch-powerpc10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-wm/leftwm/files/patch-powerpc b/x11-wm/leftwm/files/patch-powerpc
new file mode 100644
index 000000000000..b9159f01c024
--- /dev/null
+++ b/x11-wm/leftwm/files/patch-powerpc
@@ -0,0 +1,10 @@
+--- cargo-crates/crossbeam-utils-0.8.5/no_atomic.rs.orig 2021-07-12 16:01:05.023177000 +0200
++++ cargo-crates/crossbeam-utils-0.8.5/no_atomic.rs 2021-07-12 16:01:16.538869000 +0200
+@@ -30,6 +30,7 @@
+ "mipsel-unknown-none",
+ "mipsisa32r6-unknown-linux-gnu",
+ "mipsisa32r6el-unknown-linux-gnu",
++ "powerpc-unknown-freebsd",
+ "powerpc-unknown-linux-gnu",
+ "powerpc-unknown-linux-gnuspe",
+ "powerpc-unknown-linux-musl",