]> code.ossystems Code Review - openembedded-core.git/commit
e2fsprogs: fix compatibility with glibc 2.27
authorTanu Kaskinen <tanuk@iki.fi>
Wed, 21 Mar 2018 17:08:38 +0000 (19:08 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Apr 2018 16:09:07 +0000 (17:09 +0100)
commit350f2a4ad6e21acf1d357a90ba37b2c149ec7864
treeb3243584f568e87f3bc96923f2d987e0ae4b5c10
parent8e6672055e804a0828e2f51fae9cbac81e4e834d
e2fsprogs: fix compatibility with glibc 2.27

glibc 2.27 added function copy_file_range(), and e2fsprogs happens to
have a different function with the same name. The conflict made
e2fsprogs-native build fail.

Here's a backport of a fix from upstream, the fix was released in
e2fsprogs 1.43.8.

The master branch doesn't need this fix, since it has new enough
e2fsprogs version. At least rocko, pyro and morty need this, I haven't
checked older stable branches. Apparently the problematic function was
introduced in e2fsprogs version 1.43.

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-misc-rename-copy_file_range-to-copy_file_chunk.patch [new file with mode: 0644]
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.43.4.bb