xfsdump/xfsdump-fix-build-on-32-bit-platforms.patch

33 lines
827 B
Diff
Raw Normal View History

From: Eric Sandeen <sandeen@sandeen.net>
Subject: xfsdump: fix build on 32-bit platforms
Patch-mainlne: Submitted to linux-xfs, 17 Feb 2017
Now that xfsprogs requires anyone using the headers to
properly define 64-bit file access, xfsdump has stopped
building on 32-bit platforms.
I think this is all it needs; works for me here.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Jeff Mahoney <jeffm@suse.com>
---
cc: Eric Biggers because he seems to enjoy this stuff :)
configure.ac | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure.ac b/configure.ac
index 7bb6f1d..8d78ed4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,8 @@ AC_CONFIG_SRCDIR([common/main.c])
AC_CONFIG_HEADER(include/config.h)
AC_PREFIX_DEFAULT(/usr)
+AC_SYS_LARGEFILE
+
AC_PROG_LIBTOOL
AC_ARG_ENABLE(shared,