summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-10 04:09:01 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-10 04:09:01 +0000
commit48dcd9b1ae0c9390d1470784c5d82e5c0db68713 (patch)
tree4c63281fdcb50fdeb92bae3053c5cd2b4f45726f /sys-fs/mdadm/files
parentDisallowing -ftracer to avoid bug#122192, thanks to Markus Gothe for reporting (diff)
downloadhistorical-48dcd9b1ae0c9390d1470784c5d82e5c0db68713.tar.gz
historical-48dcd9b1ae0c9390d1470784c5d82e5c0db68713.tar.bz2
historical-48dcd9b1ae0c9390d1470784c5d82e5c0db68713.zip
Fix building on big endian systems #122269.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'sys-fs/mdadm/files')
-rw-r--r--sys-fs/mdadm/files/mdadm-2.3.1-endian.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sys-fs/mdadm/files/mdadm-2.3.1-endian.patch b/sys-fs/mdadm/files/mdadm-2.3.1-endian.patch
new file mode 100644
index 000000000000..e0a35cfbb174
--- /dev/null
+++ b/sys-fs/mdadm/files/mdadm-2.3.1-endian.patch
@@ -0,0 +1,24 @@
+Screw Redhat !
+
+http://bugs.gentoo.org/122269
+
+--- mdadm.h
++++ mdadm.h
+@@ -72,16 +72,7 @@
+ #include "bitmap.h"
+
+ #include <endian.h>
+-/* #include "asm/byteorder.h" Redhat don't like this so... */
+-#if __BYTE_ORDER == __LITTLE_ENDIAN
+-# include <linux/byteorder/little_endian.h>
+-#elif __BYTE_ORDER == __BIG_ENDIAN
+-# include <linux/byteorder/big_endian.h>
+-#elif __BYTE_ORDER == __PDP_ENDIAN
+-# include <linux/byteorder/pdp_endian.h>
+-#else
+-# error "unknown endianness."
+-#endif
++#include <asm/byteorder.h>
+
+
+