summaryrefslogtreecommitdiff
path: root/package/mtd-utils/patches/patch-include_mtd_ubifs-media_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-04-26 08:58:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-04-26 20:20:26 +0200
commit7d9d71e67f8763b0db96545e124c002fe0ba7e73 (patch)
treedd807d86e63727df9c864fde0866d8ccbf9a7feb /package/mtd-utils/patches/patch-include_mtd_ubifs-media_h
parent0510be4cc4affbc497040486d3d4a0a271985ba9 (diff)
mtd-utils: allow host-tools to compile on Darwin
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'package/mtd-utils/patches/patch-include_mtd_ubifs-media_h')
-rw-r--r--package/mtd-utils/patches/patch-include_mtd_ubifs-media_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/mtd-utils/patches/patch-include_mtd_ubifs-media_h b/package/mtd-utils/patches/patch-include_mtd_ubifs-media_h
new file mode 100644
index 000000000..471454799
--- /dev/null
+++ b/package/mtd-utils/patches/patch-include_mtd_ubifs-media_h
@@ -0,0 +1,11 @@
+--- mtd-utils-2.0.0.orig/include/mtd/ubifs-media.h 2016-07-12 14:16:45.000000000 +0200
++++ mtd-utils-2.0.0/include/mtd/ubifs-media.h 2017-04-25 21:47:14.000000000 +0200
+@@ -33,7 +33,7 @@
+ #ifndef __UBIFS_MEDIA_H__
+ #define __UBIFS_MEDIA_H__
+
+-#include <asm/byteorder.h>
++#include <linux/types.h>
+
+ /* UBIFS node magic number (must not have the padding byte first or last) */
+ #define UBIFS_NODE_MAGIC 0x06101831