From 38c187fe969e03f5feed56675e5c3211de9c8ef9 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 7 Oct 2004 23:09:23 +0000 Subject: [PATCH] Be more strict when checking presence of fadvise, fix build for old glibc versions. --- VERSION | 2 +- aclocal.m4 | 2 +- debian/changelog | 4 ++-- doc/CHANGES | 3 +++ m4/package_libcdev.m4 | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 714a5aabc..c99eb5a3a 100644 --- a/VERSION +++ b/VERSION @@ -3,5 +3,5 @@ # PKG_MAJOR=2 PKG_MINOR=6 -PKG_REVISION=24 +PKG_REVISION=25 PKG_BUILD=1 diff --git a/aclocal.m4 b/aclocal.m4 index f96624c6d..ed611d78c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -242,7 +242,7 @@ AC_DEFUN([AC_HAVE_FADVISE], #define _FILE_OFFSET_BITS 64 #include ], [ - posix_fadvise(0, 1, 0, 0); + posix_fadvise(0, 1, 0, POSIX_FADV_NORMAL); ], have_fadvise=yes AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) diff --git a/debian/changelog b/debian/changelog index 741c7d00a..a53e1d631 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -xfsprogs (2.6.24-1) unstable; urgency=low +xfsprogs (2.6.25-1) unstable; urgency=low * New upstream release - -- Nathan Scott Wed, 29 Sep 2004 11:28:20 +1000 + -- Nathan Scott Fri, 08 Oct 2004 08:55:03 +1000 xfsprogs (2.6.23-1) unstable; urgency=low diff --git a/doc/CHANGES b/doc/CHANGES index 0cc43a539..41ea9fefb 100644 --- a/doc/CHANGES +++ b/doc/CHANGES @@ -1,3 +1,6 @@ +xfsprogs-2.6.25 (08 October 2004) + - Fix build with really old glibc versions. + xfsprogs-2.6.24 (29 September 2004) - Allow 'e' suffix in size arguments to mkfs. - Update mkfs man page description of maximum allocation diff --git a/m4/package_libcdev.m4 b/m4/package_libcdev.m4 index d612da272..a66ae4791 100644 --- a/m4/package_libcdev.m4 +++ b/m4/package_libcdev.m4 @@ -8,7 +8,7 @@ AC_DEFUN([AC_HAVE_FADVISE], #define _FILE_OFFSET_BITS 64 #include ], [ - posix_fadvise(0, 1, 0, 0); + posix_fadvise(0, 1, 0, POSIX_FADV_NORMAL); ], have_fadvise=yes AC_MSG_RESULT(yes), AC_MSG_RESULT(no)) -- 2.47.2