From cf5dd49c80d4ee0aff343da3a7594f3d5b95f410 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 15 Mar 2016 16:25:26 +0100 Subject: [PATCH] xfsprogs: update to 4.5.0. --- srcpkgs/xfsprogs/patches/musl-fixes.patch | 17 ++++++++--------- srcpkgs/xfsprogs/template | 4 ++-- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/srcpkgs/xfsprogs/patches/musl-fixes.patch b/srcpkgs/xfsprogs/patches/musl-fixes.patch index 54e0063241..844ad8e49b 100644 --- a/srcpkgs/xfsprogs/patches/musl-fixes.patch +++ b/srcpkgs/xfsprogs/patches/musl-fixes.patch @@ -11,11 +11,10 @@ char *progname; ---- include/linux.h.orig 2015-08-04 01:37:12.000000000 +0200 -+++ include/linux.h 2015-10-03 21:19:02.256382607 +0200 -@@ -30,7 +30,9 @@ - #include - #include +--- include/linux.h.orig 2016-02-29 00:39:26.000000000 +0100 ++++ include/linux.h 2016-03-15 16:19:01.326430077 +0100 +@@ -32,6 +32,8 @@ + #include #include #include +#include /* XATTR_SIZE_MAX */ @@ -23,15 +22,15 @@ static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p) { -@@ -140,6 +141,10 @@ +@@ -142,6 +144,10 @@ #define EFSCORRUPTED EUCLEAN /* Filesystem is corrupted */ #define EFSBADCRC EBADMSG /* Bad CRC detected */ -+#ifndef loff_t -+#define loff_t off_t ++#ifndef off64_t ++#define off64_t off_t +#endif + - typedef loff_t xfs_off_t; + typedef off64_t xfs_off_t; typedef __uint64_t xfs_ino_t; typedef __uint32_t xfs_dev_t; --- libhandle/handle.c.orig 2015-10-03 21:15:14.890366562 +0200 diff --git a/srcpkgs/xfsprogs/template b/srcpkgs/xfsprogs/template index bfaf089070..00acc3521f 100644 --- a/srcpkgs/xfsprogs/template +++ b/srcpkgs/xfsprogs/template @@ -1,6 +1,6 @@ # Template file for 'xfsprogs' pkgname=xfsprogs -version=4.3.0 +version=4.5.0 revision=1 build_style=gnu-configure configure_args="--enable-readline=yes --enable-lib64=no" @@ -12,7 +12,7 @@ maintainer="Juan RP " license="LGPL-2.1" homepage="http://xfs.org/" distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-${version}.tar.gz" -checksum=3e570ad51153e4be3792f42b2c805ddbd46b55d166eba3102ec87d5006d4cb5c +checksum=e49beb314984efbd0d758abb5c6137db3bb60a88e59e1e94c00defb536cf89f8 do_install() { make install install-dev DIST_ROOT=${DESTDIR} \