mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
syslinux: add patches to build with newer kernels
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
d34adf0ebe
commit
cab74c1cfb
@ -0,0 +1,12 @@
|
||||
diff -Naur a/libinstaller/linuxioctl.h b/libinstaller/linuxioctl.h
|
||||
--- a/libinstaller/linuxioctl.h 2011-12-09 19:28:17.000000000 +0100
|
||||
+++ b/libinstaller/linuxioctl.h 2012-04-18 21:02:43.405941674 +0200
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */
|
||||
#undef SECTOR_BITS
|
||||
-#include <linux/ext2_fs.h> /* EXT2_IOC_* */
|
||||
+#include <ext2fs/ext2_fs.h> /* EXT2_IOC_* */
|
||||
|
||||
#ifndef FAT_IOCTL_GET_ATTRIBUTES
|
||||
# define FAT_IOCTL_GET_ATTRIBUTES _IOR('r', 0x10, __u32)
|
@ -0,0 +1,10 @@
|
||||
--- syslinux-4.05.prep/libinstaller/linuxioctl.h 2011-12-09 13:28:17.000000000 -0500
|
||||
+++ syslinux-4.05/libinstaller/linuxioctl.h 2012-02-15 12:28:13.393212119 -0500
|
||||
@@ -7,6 +7,7 @@
|
||||
#ifndef LIBINSTALLER_LINUXIOCTL_H
|
||||
#define LIBINSTALLER_LINUXIOCTL_H
|
||||
|
||||
+typedef unsigned short umode_t;
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#define statfs _kernel_statfs /* HACK to deal with broken 2.4 distros */
|
Loading…
x
Reference in New Issue
Block a user