SHA256
1
0
forked from pool/syslinux

Accepting request 123076 from system:install:head

- take headers from libext2fs-devel

OBS-URL: https://build.opensuse.org/request/show/123076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/syslinux?expand=0&rev=42
This commit is contained in:
Stephan Kulow 2012-06-01 05:24:27 +00:00 committed by Git OBS Bridge
commit e8e47b6b65
4 changed files with 18 additions and 11 deletions

View File

@ -0,0 +1,11 @@
--- libinstaller/linuxioctl.h
+++ libinstaller/linuxioctl.h
@@ -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)

View File

@ -1,10 +0,0 @@
--- libinstaller/linuxioctl.h 2011-04-18 23:24:17.000000000 +0200
+++ libinstaller/linuxioctl.h 2012-05-08 11:20:12.864813538 +0200
@@ -19,6 +19,7 @@
#undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */
#undef SECTOR_BITS
+typedef unsigned short umode_t; /* moved into __KERNEL__ */
#include <linux/ext2_fs.h> /* EXT2_IOC_* */
#ifndef FAT_IOCTL_GET_ATTRIBUTES

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 31 14:41:55 CEST 2012 - snwint@suse.de
- take headers from libext2fs-devel
-------------------------------------------------------------------
Tue May 15 13:31:20 CEST 2012 - snwint@suse.de

View File

@ -18,6 +18,7 @@
Name: syslinux
ExclusiveArch: %ix86 x86_64
BuildRequires: libext2fs-devel
BuildRequires: libpng-devel
BuildRequires: nasm
BuildRequires: netpbm
@ -39,7 +40,7 @@ Patch2: %{name}-%{version}-noinitrd.diff
Patch3: %{name}-%{version}-mboot_bootif.diff
Patch4: %{name}-%{version}-isohybrid-hex-option-parsing.diff
Patch5: %{name}-%{version}-md5pass.diff
Patch6: %{name}-%{version}-umode.diff
Patch6: %{name}-%{version}-libext2fs.diff
Patch7: %{name}-%{version}-gcc47.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build