diff options
author | Stefan Lippers-Hollmann <s.l-h@gmx.de> | 2018-03-04 22:57:04 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2018-03-10 18:37:03 +0100 |
commit | 58a95f0f8ff768b43d68eed2b6a786e0f40f723b (patch) | |
tree | e6ed2bd0a2075e55c520d8de50ff5174f1ee6783 /tools/squashfs4 | |
parent | 9bdea6a2964b9983d312b302e0fdde98c6bdc53b (diff) | |
download | mtk-20170518-58a95f0f8ff768b43d68eed2b6a786e0f40f723b.zip mtk-20170518-58a95f0f8ff768b43d68eed2b6a786e0f40f723b.tar.gz mtk-20170518-58a95f0f8ff768b43d68eed2b6a786e0f40f723b.tar.bz2 |
tools/e2fsprogs: fix building on a glibc 2.27 host
The e2fsprogs host build fails on a glibc 2.27 host with
make[6]: Entering directory 'build_dir/host/e2fsprogs-1.43.7/debugfs'
CC create_inode.o
./../misc/create_inode.c:399:18: error: conflicting types for 'copy_file_range'
static errcode_t copy_file_range(ext2_filsys fs, int fd, ext2_file_t e2_file,
^~~~~~~~~~~~~~~
In file included from ./../misc/create_inode.c:19:0:
/usr/include/unistd.h:1110:9: note: previous declaration of 'copy_file_range' was here
ssize_t copy_file_range (int __infd, __off64_t *__pinoff,
^~~~~~~~~~~~~~~
Backport upstream commit "misc: rename copy_file_range to
copy_file_chunk" 01551bdba16ab16512a01affe02ade32c41ede8a in order to
fix this.
Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>
Diffstat (limited to 'tools/squashfs4')
0 files changed, 0 insertions, 0 deletions