mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:37:10 +02:00
add back patch to fix building on avr32 and cris
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9691 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
95b3525348
commit
36107b305f
11
package/util-linux-ng/patches/001-cris_avr32_label.patch
Normal file
11
package/util-linux-ng/patches/001-cris_avr32_label.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- util-linux-2.12r.orig/fdisk/fdiskbsdlabel.h 2007-06-12 21:32:25.000000000 +0200
|
||||
+++ util-linux-2.12r/fdisk/fdiskbsdlabel.h 2007-06-12 21:33:20.000000000 +0200
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
#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 (__mips__) || defined (__s390__) || defined (__sh__) || defined(__x86_64__) || defined (__cris__) || defined(__avr32__)
|
||||
#define BSD_LABELSECTOR 1
|
||||
#define BSD_LABELOFFSET 0
|
||||
#elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
|
Loading…
Reference in New Issue
Block a user