From 2b2f2792b4ce93bdfdfb241c40d28a3ef092914e Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Fri, 1 Jun 2007 01:25:29 +0000 Subject: [PATCH] * Thu May 31 2007 Eric Sandeen 2.8.20-2 - Fix ppc64 build... again --- xfsprogs-2.8.20-fix-type-test.patch | 26 ++++++++++++++++++++++++++ xfsprogs.spec | 9 ++++++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 xfsprogs-2.8.20-fix-type-test.patch diff --git a/xfsprogs-2.8.20-fix-type-test.patch b/xfsprogs-2.8.20-fix-type-test.patch new file mode 100644 index 0000000..d61ea7e --- /dev/null +++ b/xfsprogs-2.8.20-fix-type-test.patch @@ -0,0 +1,26 @@ +Index: xfsprogs-2.8.20/aclocal.m4 +=================================================================== +--- xfsprogs-2.8.20.orig/aclocal.m4 ++++ xfsprogs-2.8.20/aclocal.m4 +@@ -317,7 +317,7 @@ AC_DEFUN([AC_TYPE_U32], + #include + ], [ + __u32 u32; +- ], AC_DEFINE(HAVE___U32_T) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no)) ++ ], AC_DEFINE(HAVE___U32) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no)) + ]) + + # +Index: xfsprogs-2.8.20/m4/package_types.m4 +=================================================================== +--- xfsprogs-2.8.20.orig/m4/package_types.m4 ++++ xfsprogs-2.8.20/m4/package_types.m4 +@@ -37,7 +37,7 @@ AC_DEFUN([AC_TYPE_U32], + #include + ], [ + __u32 u32; +- ], AC_DEFINE(HAVE___U32_T) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no)) ++ ], AC_DEFINE(HAVE___U32) AC_MSG_RESULT(yes) , AC_MSG_RESULT(no)) + ]) + + # diff --git a/xfsprogs.spec b/xfsprogs.spec index 6fc5907..ab5a1ec 100644 --- a/xfsprogs.spec +++ b/xfsprogs.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing the XFS filesystem Name: xfsprogs Version: 2.8.20 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL Group: System Environment/Base URL: http://oss.sgi.com/projects/xfs/ @@ -15,6 +15,8 @@ Provides: xfs-cmds Obsoletes: xfs-cmds <= %{version} Conflicts: xfsdump < 2.0.0 +Patch1: xfsprogs-2.8.20-fix-type-test.patch + %description A set of commands to use the XFS filesystem, including mkfs.xfs. @@ -44,6 +46,8 @@ also want to install xfsprogs. %prep %setup -q +# Fix autoconf u32 test for ppc64 +%patch1 -p1 -b .type_test # %build # xfsprogs does not ship ./configure @@ -107,6 +111,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %changelog +* Thu May 31 2007 Eric Sandeen 2.8.20-2 +- Fix ppc64 build... again + * Fri May 25 2007 Eric Sandeen 2.8.20-1 - Upgrade to xfsprogs 2.8.20, several xfs_repair fixes