added several patches to make packages compile for the foxboard
[openwrt/svn-archive/archive.git] / package / util-linux / patches / 801-cris-label.patch
1 --- util-linux-2.12r.orig/fdisk/fdiskbsdlabel.h 2007-06-12 21:32:25.000000000 +0200
2 +++ util-linux-2.12r/fdisk/fdiskbsdlabel.h 2007-06-12 21:33:20.000000000 +0200
3 @@ -43,7 +43,7 @@
4
5 #define BSD_LINUX_BOOTDIR "/usr/ucb/mdec"
6
7 -#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__)
8 +#if defined (i386) || defined (__sparc__) || defined (__arm__) || defined (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__cris__)
9 #define BSD_LABELSECTOR 1
10 #define BSD_LABELOFFSET 0
11 #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)