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