aboutsummaryrefslogtreecommitdiff
path: root/recipes/mtd/mtd-utils/target-endian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mtd/mtd-utils/target-endian.patch')
-rw-r--r--recipes/mtd/mtd-utils/target-endian.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/mtd/mtd-utils/target-endian.patch b/recipes/mtd/mtd-utils/target-endian.patch
new file mode 100644
index 0000000..567730c
--- /dev/null
+++ b/recipes/mtd/mtd-utils/target-endian.patch
@@ -0,0 +1,11 @@
+--- mtd/util/flash_eraseall.c 2004-09-12 00:00:13.000000000 +0200
++++ mtd-new/util/flash_eraseall.c 2005-08-16 11:36:46.262783496 +0200
+@@ -54,7 +54,7 @@
+ static void display_help (void);
+ static void display_version (void);
+ static struct jffs2_unknown_node cleanmarker;
+-static int target_endian = __BYTE_ORDER;
++int target_endian = __BYTE_ORDER;
+
+ int main (int argc, char *argv[])
+ {