summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-17 06:27:13 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-17 06:27:13 +0000
commitd62ce7582113e5da9c6d0eea044a3c499daf76e9 (patch)
tree46a90b4083c1f2f9fc222e1336364a9e9db7c721 /sys-kernel/linux-headers
parentquote D (diff)
downloadhistorical-d62ce7582113e5da9c6d0eea044a3c499daf76e9.tar.gz
historical-d62ce7582113e5da9c6d0eea044a3c499daf76e9.tar.bz2
historical-d62ce7582113e5da9c6d0eea044a3c499daf76e9.zip
fix big endian arm stat.h
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-kernel/linux-headers')
-rw-r--r--sys-kernel/linux-headers/Manifest9
-rw-r--r--sys-kernel/linux-headers/files/linux-headers-2.4-armeb-stat.patch51
-rw-r--r--sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild4
3 files changed, 58 insertions, 6 deletions
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
index d17cd048fa33..e1daa02d577c 100644
--- a/sys-kernel/linux-headers/Manifest
+++ b/sys-kernel/linux-headers/Manifest
@@ -8,7 +8,7 @@ MD5 248488cc2cb6484a305e8108b4eaaa6a metadata.xml 489
MD5 681c761c0afe60e1022ac44d37d3370a linux-headers-2.0.40.ebuild 1820
MD5 952afa5ec1d18abb7dcf9d4e26970d5a linux-headers-2.4.21-r1.ebuild 3947
MD5 f77cd054b7e25a44bfe8c83094de0b7e linux-headers-2.2.26.ebuild 2514
-MD5 1977099ee7f0217372ef6c789432ee9d linux-headers-2.4.26-r1.ebuild 399
+MD5 35a0fdb9c2d49cd00f58d0e4133130f8 linux-headers-2.4.26-r1.ebuild 445
MD5 9ae3b02531558d26bc6aa4fbceda38f6 linux-headers-2.6.11-r2.ebuild 1482
MD5 06eb1588f23861450f2d8b2e8379352b linux-headers-2.4.23_p3.ebuild 1267
MD5 cd10168775609812266f3f571928cde1 linux-headers-2.4.21.ebuild 3733
@@ -31,13 +31,14 @@ MD5 545a151ce959e51f4e528e3c27cb5a65 files/digest-linux-headers-2.4.23_p3 131
MD5 556c7008fbfdf81750bbd4ab2beb111e files/digest-linux-headers-2.2.26 67
MD5 9854e47afccae85e887bcb970fc68890 files/digest-linux-headers-2.4.21-r1 67
MD5 459bc20c4015796630e3a9f3dc9125e6 files/linux-headers-strict-ansi-fix.patch 1486
+MD5 76c239f03201f79b357eafb37e213bb6 files/linux-headers-2.4-armeb-stat.patch 1406
MD5 df6b4c19f4a4cb2b3d3a2a0107d7853d files/digest-linux-headers-2.4.25 67
MD5 14c583e9ea29b2a3fc88349685cce2f4 files/linux-headers-soundcard-ppc64.patch 722
MD5 48ebb9368ff477da66306503da02c6fd files/digest-linux-headers-2.6.8.1-r4 222
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFC2GNHgIKl8Uu19MoRAhZJAJ4+rUImyh7wmrBu1cNsbm4Ts91HywCeIzHU
-dbboGZArpR7n3XzbM3ffTMA=
-=YoJW
+iD8DBQFC2fqqgIKl8Uu19MoRAu5VAJ9AthEZn1Hz/3Wka2q+FggXVsCmXgCfb/vB
+Z7ntYWnow2obxyQnnui3SgI=
+=LsC0
-----END PGP SIGNATURE-----
diff --git a/sys-kernel/linux-headers/files/linux-headers-2.4-armeb-stat.patch b/sys-kernel/linux-headers/files/linux-headers-2.4-armeb-stat.patch
new file mode 100644
index 000000000000..0422912f9162
--- /dev/null
+++ b/sys-kernel/linux-headers/files/linux-headers-2.4-armeb-stat.patch
@@ -0,0 +1,51 @@
+http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=863/1
+
+--- include/asm-arm/stat.h
++++ include/asm-arm/stat.h
+@@ -42,8 +42,14 @@
+ * insane amounts of padding around dev_t's.
+ */
+ struct stat64 {
+- unsigned short st_dev;
+- unsigned char __pad0[10];
++#if defined(__ARMEB__)
++ unsigned char __pad0b[6];
++ unsigned short st_dev;
++#else
++ unsigned short st_dev;
++ unsigned char __pad0b[6];
++#endif
++ unsigned char __pad0[4];
+
+ #define STAT64_HAS_BROKEN_ST_INO 1
+ unsigned long __st_ino;
+@@ -53,14 +59,25 @@
+ unsigned long st_uid;
+ unsigned long st_gid;
+
+- unsigned short st_rdev;
+- unsigned char __pad3[10];
++#if defined(__ARMEB__)
++ unsigned char __pad3b[6];
++ unsigned short st_rdev;
++#else /* Must be little */
++ unsigned short st_rdev;
++ unsigned char __pad3b[6];
++#endif
++ unsigned char __pad3[4];
+
+ long long st_size;
+ unsigned long st_blksize;
+
+- unsigned long st_blocks; /* Number 512-byte blocks allocated. */
+- unsigned long __pad4; /* future possible st_blocks high bits */
++#if defined(__ARMEB__)
++ unsigned long __pad4; /* Future possible st_blocks hi bits */
++ unsigned long st_blocks; /* Number 512-byte blocks allocated. */
++#else /* Must be little */
++ unsigned long st_blocks; /* Number 512-byte blocks allocated. */
++ unsigned long __pad4; /* Future possible st_blocks hi bits */
++#endif
+
+ unsigned long st_atime;
+ unsigned long __pad5;
diff --git a/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild b/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild
index d0ad0a3bc9d0..9c30dd61c8ba 100644
--- a/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild
+++ b/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild,v 1.4 2005/07/16 01:29:13 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-headers/linux-headers-2.4.26-r1.ebuild,v 1.5 2005/07/17 06:27:13 vapier Exp $
ETYPE="headers"
H_SUPPORTEDARCH="arm m68k sparc"
@@ -10,4 +10,4 @@ detect_version
SRC_URI="${KERNEL_URI}"
KEYWORDS="-* arm m68k ~sparc"
-UNIPATCH_LIST=""
+UNIPATCH_LIST="${FILESDIR}/linux-headers-2.4-armeb-stat.patch"