xfsprogs: update to 4.5.0.

This commit is contained in:
Michael Gehring 2016-03-15 16:25:26 +01:00
parent a823cf8598
commit cf5dd49c80
2 changed files with 10 additions and 11 deletions

View File

@ -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 <endian.h>
#include <stdbool.h>
--- 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 <stdio.h>
#include <asm/types.h>
#include <mntent.h>
+#include <linux/limits.h> /* 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

View File

@ -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 <xtraeme@voidlinux.eu>"
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} \