Date: Mon, 31 Oct 2022 17:54:30 GMT From: Nuno Teixeira <eduardo@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 98da5276cd66 - main - devel/git-delta: Fix i386 build Message-ID: <202210311754.29VHsUlB059925@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=98da5276cd666ad92398ebaf032a1ed62cf62371 commit 98da5276cd666ad92398ebaf032a1ed62cf62371 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2022-10-31 17:46:28 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2022-10-31 17:54:16 +0000 devel/git-delta: Fix i386 build - sys-info-0.9.1 crate fix https://github.com/FillZpp/sys-info-rs/issues/80 PR: 267290 --- devel/git-delta/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/devel/git-delta/Makefile b/devel/git-delta/Makefile index e64a8e2201c6..d9361246b05e 100644 --- a/devel/git-delta/Makefile +++ b/devel/git-delta/Makefile @@ -1,6 +1,6 @@ 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210311754.29VHsUlB059925>