aboutsummaryrefslogtreecommitdiffstats
path: root/package/util-linux-ng/patches/001-cris_avr32_label.patch
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-05 12:00:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-04-05 12:00:20 +0000
commit6940ba2a1ad23ef2ff24ae825daa9b55bd5c58ec (patch)
treedbbfef3b4df211bd4548fbe79b2886a5262d71ec /package/util-linux-ng/patches/001-cris_avr32_label.patch
parent8d0abd27dce8a5fd725c5f42287d76faf11360ad (diff)
downloadupstream-6940ba2a1ad23ef2ff24ae825daa9b55bd5c58ec.tar.gz
upstream-6940ba2a1ad23ef2ff24ae825daa9b55bd5c58ec.tar.bz2
upstream-6940ba2a1ad23ef2ff24ae825daa9b55bd5c58ec.zip
util-linux(-ng): revert r31183, r31178 - the update introduced several regressions which need to be worked out first
SVN-Revision: 31202
Diffstat (limited to 'package/util-linux-ng/patches/001-cris_avr32_label.patch')
-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..5b600623c4
--- /dev/null
+++ b/package/util-linux-ng/patches/001-cris_avr32_label.patch
@@ -0,0 +1,11 @@
+--- a/fdisk/fdiskbsdlabel.h
++++ b/fdisk/fdiskbsdlabel.h
+@@ -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__)