From 06fceffb73cc299211d4f08c95f123c351d4fa2e Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 7 May 2013 18:04:11 +0200 Subject: [PATCH] - updated to 3.9[.0] - removed obsolete endian patch --- linux-libc-headers-endian.patch | 60 --------------------------------- linux-libc-headers.spec | 16 ++++----- 2 files changed, 7 insertions(+), 69 deletions(-) delete mode 100644 linux-libc-headers-endian.patch diff --git a/linux-libc-headers-endian.patch b/linux-libc-headers-endian.patch deleted file mode 100644 index 2e1cac8..0000000 --- a/linux-libc-headers-endian.patch +++ /dev/null @@ -1,60 +0,0 @@ ---- linux-3.7/include/uapi/linux/aio_abi.h.orig 2007-02-04 19:44:54.000000000 +0100 -+++ linux-3.7/include/uapi/linux/aio_abi.h 2007-04-02 21:27:18.150605175 +0200 -@@ -28,7 +28,11 @@ - #define __LINUX__AIO_ABI_H - - #include -+#ifdef __KERNEL__ - #include -+#else -+#include -+#endif - - typedef unsigned long aio_context_t; - -@@ -53,6 +57,7 @@ - __s64 res2; /* secondary result */ - }; - -+#ifdef __KERNEL__ - #if defined(__LITTLE_ENDIAN) - #define PADDED(x,y) x, y - #elif defined(__BIG_ENDIAN) -@@ -60,6 +65,15 @@ - #else - #error edit for your odd byteorder. - #endif -+#else /* __KERNEL__ */ -+#if __BYTE_ORDER == __LITTLE_ENDIAN -+#define PADDED(x,y) x, y -+#elif __BYTE_ORDER == __BIG_ENDIAN -+#define PADDED(x,y) y, x -+#else -+#error edit for your odd byteorder. -+#endif -+#endif /* __KERNEL__ */ - - /* - * we always use a 64bit off_t when communicating ---- linux-3.7/include/uapi/linux/raid/md_p.h.orig 2007-02-04 19:44:54.000000000 +0100 -+++ linux-3.7/include/uapi/linux/raid/md_p.h 2007-04-02 21:32:46.657325707 +0200 -@@ -15,6 +15,10 @@ - #ifndef _MD_P_H - #define _MD_P_H - -+#ifndef __KERNEL__ -+#include -+#endif -+ - /* - * RAID superblock. - * -@@ -146,7 +150,7 @@ - __u32 failed_disks; /* 4 Number of failed disks */ - __u32 spare_disks; /* 5 Number of spare disks */ - __u32 sb_csum; /* 6 checksum of the whole superblock */ --#ifdef __BIG_ENDIAN -+#if (defined(__KERNEL__) && defined(__BIG_ENDIAN)) || (!defined(__KERNEL__) && (__BYTE_ORDER == __BIG_ENDIAN)) - __u32 events_hi; /* 7 high-order of superblock update count */ - __u32 events_lo; /* 8 low-order of superblock update count */ - __u32 cp_events_hi; /* 9 high-order of checkpoint update count */ diff --git a/linux-libc-headers.spec b/linux-libc-headers.spec index d26a5ac..674a417 100644 --- a/linux-libc-headers.spec +++ b/linux-libc-headers.spec @@ -2,8 +2,8 @@ # Conditional build: %bcond_without tests # build without tests -%define basever 3.8 -%define postver 2 +%define basever 3.9 +%define postver 0 Summary: Linux kernel headers for use with C libraries Summary(pl.UTF-8): Nagłówki jądra Linuksa do użytku z bibliotekami C Name: linux-libc-headers @@ -13,19 +13,18 @@ Epoch: 7 License: GPL v2 Group: Development Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%{basever}.tar.xz -# Source0-md5: 1c738edfc54e7c65faeb90c436104e2f +# Source0-md5: 4348c9b6b2eb3144d601e87c19d5d909 %if "%{postver}" > "0" -Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.bz2 +Source1: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.xz # Source1-md5: cfd2c3d8e79ad5ec9f1d835b182d5aca %endif Patch0: %{name}-esfq.patch Patch1: %{name}-wrr.patch Patch2: %{name}-fbsplash.patch Patch3: %{name}-imq.patch -Patch4: %{name}-endian.patch -Patch5: %{name}-pom-set.patch -Patch6: %{name}-atm-vbr.patch -Patch7: vserver.patch +Patch4: %{name}-pom-set.patch +Patch5: %{name}-atm-vbr.patch +Patch6: vserver.patch AutoReqProv: no BuildRequires: perl-base BuildRequires: rpmbuild(macros) >= 1.568 @@ -75,7 +74,6 @@ bzip2 -dc %{SOURCE1} | patch -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 -%patch7 -p1 %install rm -rf $RPM_BUILD_ROOT -- 2.44.0