From f9c458ae7c94df09ff52f49e5789671c50263f2f Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 12 May 2017 19:08:17 +0000 Subject: - Update to version 3.2.4, the latest in 3.x branch. Versions 4.x are available, but they do not configure (this might be a red herring, pending further investigation): ... checking for blkid_probe_get_topology... no FATAL ERROR: could not find a valid BLKID header. Install the Block device ID development package. - Because DISTNAME is sane now, setting of EXTRACT_SUFX and WRKSRC are no longer needed and were dropped - DESTDIR is now respected by `install-sh' script, which allows to drop patching of individual makefiles and `include/buildmacros' file - All programs are installed under ${LOCALBASE}/sbin now - This version requires a number of patches to build on FreeBSD, most importantly: * Use getmntinfo() and extattr_set_fd() APIs instead of Linuxish getmntent() and fsetxattr() * Rename LIST_HEAD -> XFS_LIST_HEAD macro to avoid clash with our own one provided by queue(3) * Disable missing mremap(2) system call support in `io/mmap.c' * Replace `dirent->d_off' with more portable call to telldir() * Add missing `#include ' in several files, etc. TIMESTAMP (xfsprogs-3.2.4.tar.gz) = 1438219249 --- sysutils/xfsprogs/files/patch-include_xfs__bit.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sysutils/xfsprogs/files/patch-include_xfs__bit.h (limited to 'sysutils/xfsprogs/files/patch-include_xfs__bit.h') diff --git a/sysutils/xfsprogs/files/patch-include_xfs__bit.h b/sysutils/xfsprogs/files/patch-include_xfs__bit.h new file mode 100644 index 000000000000..768cb386f418 --- /dev/null +++ b/sysutils/xfsprogs/files/patch-include_xfs__bit.h @@ -0,0 +1,11 @@ +--- include/xfs_bit.h.orig 2015-07-24 04:28:04 UTC ++++ include/xfs_bit.h +@@ -47,7 +47,7 @@ static inline int xfs_highbit32(__uint32 + /* Get high bit set out of 64-bit argument, -1 if none set */ + static inline int xfs_highbit64(__uint64_t v) + { +- return fls64(v) - 1; ++ return flsll(v) - 1; + } + + /* Get low bit set out of 32-bit argument, -1 if none set */ -- cgit v1.2.3