Skip to content
Snippets Groups Projects
Commit 98da5276 authored by Nuno Teixeira's avatar Nuno Teixeira
Browse files

devel/git-delta: Fix i386 build

 - sys-info-0.9.1 crate fix
   https://github.com/FillZpp/sys-info-rs/issues/80

PR:		267290
parent 363ee8e6
No related branches found
No related tags found
No related merge requests found
PORTNAME= delta
DISTVERSION= 0.14.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
PKGNAMEPREFIX= git-
......@@ -28,6 +28,13 @@ BASH_PLIST_FILES= etc/bash_completion.d/_${PORTNAME}.bash
FISH_PLIST_FILES= share/fish/vendor_functions.d/${PORTNAME}.fish
ZSH_PLIST_FILES= share/zsh/site-functions/_${PORTNAME}
# sys-info-0.9.1 crate fix: https://github.com/FillZpp/sys-info-rs/issues/80
post-patch:
@${REINPLACE_CMD} \
-e '/get_cpu/s|unsigned long|uint64_t|' \
-e '/get_proc_total/s|unsigned long|uint64_t|' \
${WRKSRC}/cargo-crates/sys-info-*/c/*.[ch]
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/delta
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment