aboutsummaryrefslogtreecommitdiffstats
path: root/packages/util-linux
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-09-14 06:55:52 +0000
committerKoen Kooi <koen@openembedded.org>2007-09-14 06:55:52 +0000
commitd2d8fe90e59dd05ad18c41ff35a643c5c8498c59 (patch)
tree1a89c83787356c48e32b88eafe6edfb34bd56aec /packages/util-linux
parent6e6f3fc99a12d6b8a120b5981cacb57f3c87db39 (diff)
downloadopenembedded-d2d8fe90e59dd05ad18c41ff35a643c5c8498c59.tar.gz
utillinux: add patch to fix avr32 compilation
Diffstat (limited to 'packages/util-linux')
-rw-r--r--packages/util-linux/files/fdiskbsdlabel-avr32.patch11
-rw-r--r--packages/util-linux/util-linux_2.12r.bb3
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/util-linux/files/fdiskbsdlabel-avr32.patch b/packages/util-linux/files/fdiskbsdlabel-avr32.patch
new file mode 100644
index 0000000000..4a7d8f4dc8
--- /dev/null
+++ b/packages/util-linux/files/fdiskbsdlabel-avr32.patch
@@ -0,0 +1,11 @@
+--- /tmp/fdiskbsdlabel.h 2007-09-14 08:52:56.188364759 +0200
++++ util-linux-2.12r/fdisk/fdiskbsdlabel.h 2007-09-14 08:53:31.279986639 +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(__avr32__)
+ #define BSD_LABELSECTOR 1
+ #define BSD_LABELOFFSET 0
+ #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__)
diff --git a/packages/util-linux/util-linux_2.12r.bb b/packages/util-linux/util-linux_2.12r.bb
index 9d4b59c855..7f8c3dd9f8 100644
--- a/packages/util-linux/util-linux_2.12r.bb
+++ b/packages/util-linux/util-linux_2.12r.bb
@@ -3,5 +3,6 @@ require util-linux.inc
SRC_URI += "file://util-linux_2.12r-12.diff.gz;patch=1"
SRC_URI += "file://glibc-fix.patch;patch=1"
SRC_URI += "file://glibc-umount2.patch;patch=1"
+SRC_URI += "file://fdiskbsdlabel-avr32.patch;patch=1"
-PR = "r12"
+PR = "r13"