diff options
Diffstat (limited to 'sys-fs/mdadm/files/mdadm-2.3.1-endian.patch')
-rw-r--r-- | sys-fs/mdadm/files/mdadm-2.3.1-endian.patch | 24 |
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> + + + |