summaryrefslogtreecommitdiff
path: root/packages/mtd/mtd-utils/target-endian.patch
diff options
context:
space:
mode:
authorMartin Dietze <di@fh-wedel.de>2006-09-14 10:08:41 +0000
committerMartin Dietze <di@fh-wedel.de>2006-09-14 10:08:41 +0000
commit12cd0aac93821b11ea27f54ff4e82b6b356e3511 (patch)
tree64c2c94b1e45908f3d4fef320242a5be4c6991f9 /packages/mtd/mtd-utils/target-endian.patch
parent68bd8370dafde79536cc79b4ac794e41ed122ce1 (diff)
mtn: added configuration for cvs20041113 version of mtd-utils which works for nylon/mtx-[12].
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[])
+ {