pijul: update to 0.11.0.

thanks to @jnbr for musl fix
This commit is contained in:
maxice8 2018-11-19 14:06:37 -02:00 committed by maxice8
parent 134ad48f1c
commit 947a26ee6d
2 changed files with 15 additions and 8 deletions

View File

@ -0,0 +1,11 @@
--- line/src/unix.rs.orig 2018-11-19 19:17:02.606568203 +0100
+++ line/src/unix.rs 2018-11-19 19:17:13.762473164 +0100
@@ -6,7 +6,7 @@
fn size() -> (usize, usize) {
unsafe {
let mut size: libc::winsize = std::mem::zeroed();
- if libc::ioctl(1, libc::TIOCGWINSZ as libc::c_ulong, &mut size) == 0 {
+ if libc::ioctl(1, libc::TIOCGWINSZ, &mut size) == 0 {
(size.ws_col as usize, size.ws_row as usize)
} else {
(0, 0)

View File

@ -1,20 +1,16 @@
# Template file for 'pijul'
pkgname=pijul
version=0.10.0
revision=2
version=0.11.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libsodium-devel libressl-devel"
short_desc="Distributed version control system based on patches"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="GPL-2"
license="GPL-2.0-only"
homepage="https://pijul.org/"
distfiles="https://pijul.org/releases/pijul-${version}.tar.gz"
checksum=da3fcba4ab39a4371cda7273691364c2355c9b216bb7867d92dae5812ebb71d2
case "$XBPS_TARGET_MACHINE" in
arm*) broken="mismatched types --> line/src/unix.rs:9:27 expect u32, found u64"
esac
checksum=e60793ab124e9054c1d5509698acbae507ebb2fab5364d964067bc9ae8b6b5e5
# We only want to install the binary, so don't run cargo install
do_install() {