summaryrefslogtreecommitdiff
path: root/packages/mtd/mtd-utils/target-endian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mtd/mtd-utils/target-endian.patch')
-rw-r--r--packages/mtd/mtd-utils/target-endian.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/mtd/mtd-utils/target-endian.patch b/packages/mtd/mtd-utils/target-endian.patch
new file mode 100644
index 0000000000..567730ce31
--- /dev/null
+++ b/packages/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[])
+ {