diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-03 01:13:10 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-07-03 01:13:10 +0000 |
commit | c61315874e2e4b5c5d27ded78177bb5b3af9baa6 (patch) | |
tree | 43eb719a67458902efc0732f3300a9a8670a4ddf /package/util-linux/patches/801-cris_avr32_label.patch | |
parent | dd85e3ce1f7042a5413a246b0e5e929150d65af4 (diff) |
fix util-linux compile on avr32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7860 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/util-linux/patches/801-cris_avr32_label.patch')
-rw-r--r-- | package/util-linux/patches/801-cris_avr32_label.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/util-linux/patches/801-cris_avr32_label.patch b/package/util-linux/patches/801-cris_avr32_label.patch new file mode 100644 index 0000000000..d2819498af --- /dev/null +++ b/package/util-linux/patches/801-cris_avr32_label.patch @@ -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 +@@ -43,7 +43,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__) |