aboutsummaryrefslogtreecommitdiff
path: root/graphics/librsvg2-rust/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-01 10:28:25 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-10-01 10:28:25 +0000
commita79bfc5158678afcd04177d26c327b8af57745f1 (patch)
tree806d68db744cd38b43d6e6000821976f01d705e7 /graphics/librsvg2-rust/Makefile
parentc1945ff2eb4c29dac155a82a3bd79c782141bfc5 (diff)
downloadports-a79bfc5158678afcd04177d26c327b8af57745f1.tar.gz
ports-a79bfc5158678afcd04177d26c327b8af57745f1.zip
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.
Diffstat (limited to 'graphics/librsvg2-rust/Makefile')
-rw-r--r--graphics/librsvg2-rust/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/librsvg2-rust/Makefile b/graphics/librsvg2-rust/Makefile
index efced9676ac0..1b8b19ca27af 100644
--- a/graphics/librsvg2-rust/Makefile
+++ b/graphics/librsvg2-rust/Makefile
@@ -7,6 +7,9 @@ MASTER_SITES= GNOME
PKGNAMESUFFIX= 2-rust
DIST_SUBDIR= gnome2
+PATCH_SITES= https://gitlab.gnome.org/GNOME/librsvg/-/commit/
+PATCHFILES= 92df18a3faf80c1d6d35899d9a5d22c74adfb8f8.patch:-p1
+
MAINTAINER= desktop@FreeBSD.org
COMMENT= Library for parsing and rendering SVG vector-graphic files