graphics/librsvg2-rust: Update libc crate to 0.2.49
This should give it a chance to build on aarch64, armv*, powerpc64.
This commit is contained in:
parent
71bc9e8064
commit
a8cfcde6c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=493676
2 changed files with 15 additions and 3 deletions
|
@ -3,10 +3,13 @@
|
|||
|
||||
PORTNAME= librsvg
|
||||
PORTVERSION= 2.45.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics gnome
|
||||
MASTER_SITES= GNOME
|
||||
MASTER_SITES= GNOME \
|
||||
CRATESIO/libc/0.2.49:libc
|
||||
PKGNAMESUFFIX= 2-rust
|
||||
DIST_SUBDIR= gnome2
|
||||
DISTFILES= gnome2/${DISTNAME}${EXTRACT_SUFX} \
|
||||
rust/crates/libc-0.2.49.tar.gz:libc
|
||||
|
||||
MAINTAINER= tobik@FreeBSD.org
|
||||
COMMENT= Library for parsing and rendering SVG vector-graphic files
|
||||
|
@ -44,5 +47,12 @@ post-patch:
|
|||
# Disable vendor checksums
|
||||
@${REINPLACE_CMD} -e 's/"files":{[^}]*}/"files":{}/' \
|
||||
${WRKSRC}/vendor/*/.cargo-checksum.json
|
||||
# Replace vendored libc crate with libc-0.2.49 for tier 2 arch support
|
||||
${RM} -r ${WRKSRC}/vendor/libc
|
||||
${MV} ${WRKDIR}/libc-0.2.49 ${WRKSRC}/vendor/libc
|
||||
@${ECHO_CMD} '{"files":{}}' > ${WRKSRC}/vendor/libc/.cargo-checksum.json
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/cargo update
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
TIMESTAMP = 1550406514
|
||||
TIMESTAMP = 1550930141
|
||||
SHA256 (gnome2/librsvg-2.45.5.tar.xz) = 600872dc608fe5e01bfd8d5b3046d01b53b99121bc5ab9663531b53630843700
|
||||
SIZE (gnome2/librsvg-2.45.5.tar.xz) = 13485044
|
||||
SHA256 (rust/crates/libc-0.2.49.tar.gz) = 413f3dfc802c5dc91dc570b05125b6cda9855edfaa9825c9849807876376e70e
|
||||
SIZE (rust/crates/libc-0.2.49.tar.gz) = 375486
|
||||
|
|
Loading…
Reference in a new issue