busybox: add missing patch in 1.01
authorJohn Bowler <jbowler@nslu2-linux.org>
Mon, 30 Jan 2006 00:25:28 +0000 (00:25 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 30 Jan 2006 00:25:28 +0000 (00:25 +0000)
packages/busybox/busybox-1.01/thumb-bsdlabel.patch [new file with mode: 0644]

diff --git a/packages/busybox/busybox-1.01/thumb-bsdlabel.patch b/packages/busybox/busybox-1.01/thumb-bsdlabel.patch
new file mode 100644 (file)
index 0000000..dc3eb7c
--- /dev/null
@@ -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__)