kumquat-buildroot/package/lxc
Fabrice Fontaine 00da8187cd package/lxc: fix m68k build with gcc 12
Fix the following m68k build failure with gcc 12:

In file included from ../src/lxc/syscall_wrappers.h:19,
                 from ../src/lxc/mount_utils.h:15,
                 from ../src/lxc/conf.h:24,
                 from ../src/lxc/log.h:19,
                 from ../src/lxc/storage/btrfs.c:20:
../src/lxc/syscall_numbers.h:423:25: error: macro names must be identifiers
  423 |                 #define -1
      |                         ^

Fixes:
 - http://autobuild.buildroot.org/results/f40a517eba86838b11b4b1d6a8a05b8233a3394d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit f6453835d6)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-04-28 21:33:25 +02:00
..
0001-src-lxc-syscall_numbers.h-drop-define-1.patch
Config.in
lxc.hash
lxc.mk