summaryrefslogtreecommitdiffstats
path: root/package/util-linux/patches
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-12 20:36:02 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-06-12 20:36:02 +0000
commit5af6073589a723285c412c1ea53002dd61953d13 (patch)
tree051eaf8fd2124ffc2b7f18a26fbfc24a501ff080 /package/util-linux/patches
parentb8425a81be83740c4dfefdc2f6382a6133121fc6 (diff)
added several patches to make packages compile for the foxboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7597 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/util-linux/patches')
-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 000000000..0ccfb520a
--- /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__)