Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphics/librsvg2-rust: fix build on big-endian
patch-vendor_crossbeam-* patches are necessary on powerpc. They may be removed after Rust 1.56.0 is released, upstream for crossbeam* crates regenerates no_atomic.rs and those changes flow into ports. Same for the patch for builtns.rs (except that it also affects powerpc64le which is already in the upstream cfg_expr crate, but powerpc has not yet landed there). To fix build generally on big-endian (so powerpc and powerpc64 at the moment), merging https://gitlab.gnome.org/GNOME/librsvg/-/commit/92df18a3faf80c1d6d35899d9a5d22c74adfb8f8 is also necessary.
- Loading branch information
Showing
5 changed files
with
50 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
TIMESTAMP = 1631578579 | ||
TIMESTAMP = 1633082129 | ||
SHA256 (gnome2/librsvg-2.52.0.tar.xz) = bd821fb3e16494b61f5185addd23b726b064f203122b3ab4b3d5d7a44e6bf393 | ||
SIZE (gnome2/librsvg-2.52.0.tar.xz) = 23196792 | ||
SHA256 (gnome2/92df18a3faf80c1d6d35899d9a5d22c74adfb8f8.patch) = 0fcdd9f890b93e0128bd2fd948ffbffdaa7fe888ba4ce066e14e4cc50d5444f4 | ||
SIZE (gnome2/92df18a3faf80c1d6d35899d9a5d22c74adfb8f8.patch) = 10895 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
graphics/librsvg2-rust/files/patch-vendor_crossbeam-epoch_no__atomic.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- vendor/crossbeam-epoch/no_atomic.rs.orig 2021-09-16 01:15:26 UTC | ||
+++ vendor/crossbeam-epoch/no_atomic.rs | ||
@@ -30,6 +30,7 @@ const NO_ATOMIC_64: &[&str] = &[ | ||
"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", |
10 changes: 10 additions & 0 deletions
10
graphics/librsvg2-rust/files/patch-vendor_crossbeam-utils_no__atomic.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- vendor/crossbeam-utils/no_atomic.rs.orig 2021-09-16 01:15:26 UTC | ||
+++ vendor/crossbeam-utils/no_atomic.rs | ||
@@ -30,6 +30,7 @@ const NO_ATOMIC_64: &[&str] = &[ | ||
"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", |