summaryrefslogtreecommitdiff
path: root/packages/busybox/busybox-1.01
diff options
context:
space:
mode:
Diffstat (limited to 'packages/busybox/busybox-1.01')
-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__)