Package: syslinux / 2:4.05+dfsg-6+deb7u1

11-ext2-header.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Andy Whitcroft <apw@canonical.com>
Description:
 Fix reference to linux/ext2_fs.h which is now removed from the kernel
 exported headers as of v3.4. Instead use the offical userspace copy
 exported by e2fslibs-dev. Fixes FTBS with 3.4.x kernels (Closes: #676405).

diff -Naurp syslinux.orig/libinstaller/linuxioctl.h syslinux/libinstaller/linuxioctl.h
--- syslinux.orig/libinstaller/linuxioctl.h	2012-06-27 16:08:13.867832421 +0200
+++ syslinux/libinstaller/linuxioctl.h	2012-06-30 14:03:05.063828051 +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)