aboutsummaryrefslogtreecommitdiffstats
path: root/package/util-linux/patches/801-cris-label.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2007-06-12 20:36:02 +0000
committerJohn Crispin <john@openwrt.org>2007-06-12 20:36:02 +0000
commit91f8777f849c58918038f07b1b687dfaa4d7169a (patch)
tree5666ac18a4b555b6278d1a48881a61ce9f581ad4 /package/util-linux/patches/801-cris-label.patch
parentcfb46e5d450ce65a4eb5b80965a304e6d8308d6b (diff)
downloadupstream-91f8777f849c58918038f07b1b687dfaa4d7169a.tar.gz
upstream-91f8777f849c58918038f07b1b687dfaa4d7169a.tar.bz2
upstream-91f8777f849c58918038f07b1b687dfaa4d7169a.zip
added several patches to make packages compile for the foxboard
SVN-Revision: 7597
Diffstat (limited to 'package/util-linux/patches/801-cris-label.patch')
-rw-r--r--package/util-linux/patches/801-cris-label.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/util-linux/patches/801-cris-label.patch b/package/util-linux/patches/801-cris-label.patch
new file mode 100644
index 0000000000..0ccfb520af
--- /dev/null
+++ b/package/util-linux/patches/801-cris-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__)
+ #define BSD_LABELSECTOR 1
+ #define BSD_LABELOFFSET 0
+ #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)