summaryrefslogtreecommitdiff
path: root/multimedia/librespot
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-28 19:35:01 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-28 19:35:01 +0000
commitd5ca695b55b1a19a95e85c2870a25362273fcea9 (patch)
treef6aa879a13a7c4c924f5e6e119d9faf01dce216b /multimedia/librespot
parentfbd4fc69d0de4a31272f573e169c3f371a0b04fa (diff)
downloadfreebsd-ports-d5ca695b55b1a19a95e85c2870a25362273fcea9.zip
*/*: fix all ports using Rust on powerpc that fail due to libc
This commit backports https://github.com/rust-lang/libc/commit/a66f7c1eb26ad890c8169d8395e3042bcf776f01 to various ports. It doesn't bring that backport to ports that fail to build anyway.
Diffstat (limited to 'multimedia/librespot')
-rw-r--r--multimedia/librespot/files/patch-powerpc8
1 files changed, 4 insertions, 4 deletions
diff --git a/multimedia/librespot/files/patch-powerpc b/multimedia/librespot/files/patch-powerpc
index 7c22065967a5..698b3d613883 100644
--- a/multimedia/librespot/files/patch-powerpc
+++ b/multimedia/librespot/files/patch-powerpc
@@ -1,5 +1,5 @@
---- cargo-crates/libc-/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
-+++ cargo-crates/libc-/src/unix/bsd/freebsdlike/freebsd/mod.rs
+--- cargo-crates/libc-0.2.94/src/unix/bsd/freebsdlike/freebsd/mod.rs.orig 2020-03-17 20:35:43 UTC
++++ cargo-crates/libc-0.2.94/src/unix/bsd/freebsdlike/freebsd/mod.rs
@@ -1486,6 +1486,9 @@ cfg_if! {
} else if #[cfg(target_arch = "powerpc64")] {
mod powerpc64;
@@ -10,8 +10,8 @@
} else {
// Unknown target_arch
}
---- cargo-crates/libc-/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
-+++ cargo-crates/libc-/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
+--- cargo-crates/libc-0.2.94/src/unix/bsd/freebsdlike/freebsd/powerpc.rs.orig 2021-06-23 22:40:24 UTC
++++ cargo-crates/libc-0.2.94/src/unix/bsd/freebsdlike/freebsd/powerpc.rs
@@ -0,0 +1,47 @@
+pub type c_char = u8;
+pub type c_long = i32;