summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2006-01-30 00:25:28 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-30 00:25:28 +0000
commit9ca77b3910ba0063bae71748077d44afa745f4f8 (patch)
tree2e6b2c9b706f84f2485bbe9d018688ff2c889815 /packages/busybox/busybox-1.01/thumb-bsdlabel.patch
parentd147900a4c35dd78cebf1349e7912554a2a5f59f (diff)
busybox: add missing patch in 1.01
Diffstat (limited to 'packages/busybox/busybox-1.01/thumb-bsdlabel.patch')
-rw-r--r--packages/busybox/busybox-1.01/thumb-bsdlabel.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/busybox/busybox-1.01/thumb-bsdlabel.patch b/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
new file mode 100644
index 0000000000..dc3eb7c552
--- /dev/null
+++ b/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
@@ -0,0 +1,11 @@
+--- busybox-1.01/util-linux/fdisk.c 1970-01-01 00:00:00.000000000 +0000
++++ busybox-1.01/util-linux/fdisk.c 1970-01-01 00:00:00.000000000 +0000
+@@ -507,7 +507,7 @@ check_aix_label( void )
+
+ #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
+
+-#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
++#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__thumb__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
+ #define BSD_LABELSECTOR 1
+ #define BSD_LABELOFFSET 0
+ #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)