Hello community,

here is the log from the commit of package xfsdump for openSUSE:Factory checked 
in at 2017-06-10 17:51:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfsdump (Old)
 and      /work/SRC/openSUSE:Factory/.xfsdump.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfsdump"

Sat Jun 10 17:51:05 2017 rev:30 rq:501181 version:3.1.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/xfsdump/xfsdump.changes  2015-11-24 
22:31:02.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xfsdump.new/xfsdump.changes     2017-06-10 
17:51:10.786312789 +0200
@@ -1,0 +2,6 @@
+Wed May 31 19:29:27 UTC 2017 - je...@suse.com
+
+- Fix building on 32-bit architectures with updated xfsprogs.
+  - Added xfsdump-fix-build-on-32-bit-platforms.patch
+
+-------------------------------------------------------------------

New:
----
  xfsdump-fix-build-on-32-bit-platforms.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfsdump.spec ++++++
--- /var/tmp/diff_new_pack.dBL8hn/_old  2017-06-10 17:51:12.406084078 +0200
+++ /var/tmp/diff_new_pack.dBL8hn/_new  2017-06-10 17:51:12.406084078 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xfsdump
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,8 +27,12 @@
 Source1:        
ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsdump-%{version}.tar.gz.sig
 Source2:        %{name}.keyring
 Patch0:         xfsdump-docdir.diff
+Patch1:         xfsdump-fix-build-on-32-bit-platforms.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  e2fsprogs-devel
 BuildRequires:  libattr-devel
+BuildRequires:  libtool
 BuildRequires:  ncurses-devel
 BuildRequires:  xfsprogs-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -53,8 +57,11 @@
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 
 %build
+rm -f configure
+make configure
 export DEBUG=-DNDEBUG
 %configure --bindir=%{_sbindir}
 make %{?_smp_mflags}


++++++ xfsdump-fix-build-on-32-bit-platforms.patch ++++++
From: Eric Sandeen <sand...@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 <sand...@redhat.com>
Acked-by: Jeff Mahoney <je...@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,


Reply via email to