+++ /dev/null
---- 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 <linux/types.h>
-+#ifdef __KERNEL__
- #include <asm/byteorder.h>
-+#else
-+#include <endian.h>
-+#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 <endian.h>
-+#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 */
# 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
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
%patch4 -p1
%patch5 -p1
%patch6 -p1
-%patch7 -p1
%install
rm -rf $RPM_BUILD_ROOT