diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-12-25 19:35:40 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-12-26 15:14:37 +0100 |
commit | 81c8bf16c115c0edf30df7d15f18b0894a5345ca (patch) | |
tree | 04a3fa7d9c76fddd3fc4e5ff5c023c137bc60471 /package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch | |
parent | 903b210402a9431a0062d92b5511a8c539a3fd91 (diff) | |
download | buildroot-81c8bf16c115c0edf30df7d15f18b0894a5345ca.tar.gz buildroot-81c8bf16c115c0edf30df7d15f18b0894a5345ca.zip |
package/f2fs-tools: furthe endianness fixes
Add appropriate checks in configure.ac.
Fixes a slew of autobuilder failures:
http://autobuild.buildroot.org/results/cf6/cf6f5b6981694f74bfca45b3d04ff35e4226b162/
http://autobuild.buildroot.org/results/b34/b346472e686af5b517b689217349eab21878bb7b/
http://autobuild.buildroot.org/results/49a/49a6a2a88cac6e0899f271a5e65c78dd9eb2eab4/
...
Note: patches sent upstream, awaiting for reply...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch')
-rw-r--r-- | package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch b/package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch new file mode 100644 index 0000000000..786c27dad7 --- /dev/null +++ b/package/f2fs-tools/0004-configure-also-check-for-byteswap.h.patch @@ -0,0 +1,35 @@ +From 7b9da72b1779cbc7b6c092523877860ef9315a36 Mon Sep 17 00:00:00 2001 +From: "Yann E. MORIN" <yann.morin.1998@free.fr> +Date: Thu, 25 Dec 2014 18:39:19 +0100 +Subject: [PATCH] configure: also check for byteswap.h + +include/f2fs_fs.h checks the HAVE_BYTESWAP_H conditional, but it is +never checked for in configure. + +Add that header to the list of headers checked for. + +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> +Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- +Note: not exactly the same as submitted upstreram, because they already +check for more headers. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d66cb73..7cfd9b4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -57,7 +57,7 @@ PKG_CHECK_MODULES([libuuid], [uuid]) + + # Checks for header files. + AC_CHECK_HEADERS([linux/fs.h fcntl.h mntent.h stdlib.h string.h \ +- sys/ioctl.h sys/mount.h unistd.h]) ++ sys/ioctl.h sys/mount.h unistd.h byteswap.h]) + + # Checks for typedefs, structures, and compiler characteristics. + AC_C_INLINE +-- +1.9.1 + |