aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mtd/mtd-utils/target-endian.patch
diff options
context:
space:
mode:
authorMartin Dietze <mdietze@gmail.com>2013-03-01 23:29:19 +0100
committerMartin Dietze <mdietze@gmail.com>2013-03-02 17:27:30 +0100
commit889579dc45ac2e62b4e41e1508dc96b074bf082d (patch)
treebc74b71685e30f4a3707b9100e750075c1bb7c72 /recipes/mtd/mtd-utils/target-endian.patch
parentb01a466d2bbe58e255229d214794b30674ebe579 (diff)
downloadopenembedded-889579dc45ac2e62b4e41e1508dc96b074bf082d.tar.gz
openembedded-889579dc45ac2e62b4e41e1508dc96b074bf082d.tar.bz2
openembedded-889579dc45ac2e62b4e41e1508dc96b074bf082d.zip
mtd-utils: re-added older version 20041113 for nylon
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 0000000000..567730ce31
--- /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[])
+ {