aboutsummaryrefslogtreecommitdiffstats
path: root/package/util-linux-ng
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2007-12-09 18:31:09 +0000
committerImre Kaloz <kaloz@openwrt.org>2007-12-09 18:31:09 +0000
commit6a44e140518e1a6c7b5bbdfaf58c99a69fa2ac24 (patch)
tree675bcfaec22d64d51b43d645977f3ec0d6e11466 /package/util-linux-ng
parenta86b7992f92a51f98b4142fefb5722bfd5bb7330 (diff)
downloadupstream-6a44e140518e1a6c7b5bbdfaf58c99a69fa2ac24.tar.gz
upstream-6a44e140518e1a6c7b5bbdfaf58c99a69fa2ac24.tar.bz2
upstream-6a44e140518e1a6c7b5bbdfaf58c99a69fa2ac24.zip
add back patch to fix building on avr32 and cris
SVN-Revision: 9691
Diffstat (limited to 'package/util-linux-ng')
-rw-r--r--package/util-linux-ng/patches/001-cris_avr32_label.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/util-linux-ng/patches/001-cris_avr32_label.patch b/package/util-linux-ng/patches/001-cris_avr32_label.patch
new file mode 100644
index 0000000000..b006d2ce22
--- /dev/null
+++ b/package/util-linux-ng/patches/001-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
+@@ -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__)