From c3778cf43c3d55f9b98d13eb48f644588a1f1297 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sun, 17 Jul 2022 13:04:53 +0000 Subject: [PATCH] syslinux: enable compile with glibc 2.36 --- ...yslinux-0002-fix-build-with-glibc_2.36.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/tools/syslinux/patches/syslinux-0002-fix-build-with-glibc_2.36.patch diff --git a/packages/tools/syslinux/patches/syslinux-0002-fix-build-with-glibc_2.36.patch b/packages/tools/syslinux/patches/syslinux-0002-fix-build-with-glibc_2.36.patch new file mode 100644 index 0000000000..5bab310449 --- /dev/null +++ b/packages/tools/syslinux/patches/syslinux-0002-fix-build-with-glibc_2.36.patch @@ -0,0 +1,17 @@ +--- a/libinstaller/linuxioctl.h 2022-07-17 12:45:43.459729359 +0000 ++++ b/libinstaller/linuxioctl.h 2022-07-17 12:58:50.204815753 +0000 +@@ -16,7 +16,13 @@ + #include /* Floppy geometry */ + #include /* Hard disk geometry */ + +-#include /* FIGETBSZ, FIBMAP, FS_IOC_* */ ++#define FIBMAP _IO(0x00,1) /* bmap access */ ++#define FIGETBSZ _IO(0x00,2) /* get the block size used for bmap */ ++ ++#define FS_IOC_GETFLAGS _IOR('f', 1, long) ++#define FS_IOC_SETFLAGS _IOW('f', 2, long) ++ ++#define FS_IMMUTABLE_FL 0x00000010 /* Immutable file */ + + #undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */ + #undef SECTOR_BITS