kumquat-buildroot/package/util-linux
Fabrice Fontaine 5b14969409 package/util-linux: fix build on kernel < 4.11
lsns unconditionally uses NS_GET_NSTYPE since version 2.38 and
https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/?id=de72df79d72fa906e71e2ac922d8745ff22deee5
which is only available since kernel 4.11 and
e5ff5ce6e2
resulting in the following build failure:

sys-utils/lsns.c: In function 'add_namespace_for_nsfd':
sys-utils/lsns.c:719:25: error: 'NS_GET_NSTYPE' undeclared (first use in this function)
  719 |  clone_type = ioctl(fd, NS_GET_NSTYPE);
      |                         ^~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/572ecf8e37ac733a4e4265f4f78f35230337278e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-04-14 21:24:24 +02:00
..
util-linux-libs
0001-lsns-improve-dependence-on-NS_GET_-ioctls.patch package/util-linux: fix build on kernel < 4.11 2022-04-14 21:24:24 +02:00
Config.in
Config.in.host
su.pam
util-linux.hash
util-linux.mk