Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] cargo: fix build
@ 2019-06-03 12:38 voidlinux-github
  2019-06-03 13:37 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-06-03 12:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 360 bytes --]

There is a new pull request by jnbr against master on the void-packages repository

https://github.com/jnbr/void-packages cargo-fix
https://github.com/void-linux/void-packages/pull/12097

cargo: fix build
build fails on musl with more recent versions of the libc crate

A patch file from https://github.com/void-linux/void-packages/pull/12097.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-cargo-fix-12097.patch --]
[-- Type: application/text/x-diff, Size: 907 bytes --]

From 0fb74b2889c7a4bfa192d36e2618a42d7c4d171c Mon Sep 17 00:00:00 2001
From: Johannes <johannes.brechtmann@gmail.com>
Date: Mon, 3 Jun 2019 14:31:46 +0200
Subject: [PATCH] cargo: fix build

build fails on musl with more recent versions of the libc crate
---
 srcpkgs/cargo/template | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/cargo/template b/srcpkgs/cargo/template
index 5598a5a693e..dd237fb4c78 100644
--- a/srcpkgs/cargo/template
+++ b/srcpkgs/cargo/template
@@ -1,7 +1,7 @@
 # Template file for 'cargo'
 pkgname=cargo
 version=0.36.0
-revision=1
+revision=2
 build_helper=rust
 hostmakedepends="rust python curl cmake pkg-config"
 makedepends="libcurl-devel libgit2-devel"
@@ -100,6 +100,8 @@ do_build() {
 		cargo="./cargo"
 	fi
 
+	$cargo update
+	$cargo update --package libc --precise 0.2.55
 	$cargo build --release $(vopt_if static --features="all-static")
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: cargo: fix build
  2019-06-03 12:38 [PR PATCH] cargo: fix build voidlinux-github
@ 2019-06-03 13:37 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-06-03 13:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 212 bytes --]

There's a merged pull request on the void-packages repository

cargo: fix build
https://github.com/void-linux/void-packages/pull/12097
Description: build fails on musl with more recent versions of the libc crate

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-03 13:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-03 12:38 [PR PATCH] cargo: fix build voidlinux-github
2019-06-03 13:37 ` [PR PATCH] [Merged]: " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).