diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-01 15:12:51 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-11-01 20:07:13 +0100 |
commit | 70d5fa3baa9d48adf45a2135f3d2f6adc0356b0b (patch) | |
tree | 57c7f061b77ce2aba773166fc3fd485b6838309c /recipes-core/util-linux-ng/util-linux-ng-2.17/fdiskbsdlabel.h-nios2.patch | |
parent | 2b41bf1cc71b52e09573b130a568100e18bef12b (diff) | |
download | meta-openembedded-70d5fa3baa9d48adf45a2135f3d2f6adc0356b0b.tar.gz |
angstrom-layers: add util-linux-ng 2.17 to meta-openembedded
Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes-core/util-linux-ng/util-linux-ng-2.17/fdiskbsdlabel.h-nios2.patch')
-rw-r--r-- | recipes-core/util-linux-ng/util-linux-ng-2.17/fdiskbsdlabel.h-nios2.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-core/util-linux-ng/util-linux-ng-2.17/fdiskbsdlabel.h-nios2.patch b/recipes-core/util-linux-ng/util-linux-ng-2.17/fdiskbsdlabel.h-nios2.patch new file mode 100644 index 0000000000..5b5051e954 --- /dev/null +++ b/recipes-core/util-linux-ng/util-linux-ng-2.17/fdiskbsdlabel.h-nios2.patch | |||
@@ -0,0 +1,14 @@ | |||
1 | Index: util-linux-ng-2.17/fdisk/fdiskbsdlabel.h | ||
2 | =================================================================== | ||
3 | --- util-linux-ng-2.17.orig/fdisk/fdiskbsdlabel.h 2010-07-07 14:13:04.073530165 +0200 | ||
4 | +++ util-linux-ng-2.17/fdisk/fdiskbsdlabel.h 2010-07-07 14:13:43.053535150 +0200 | ||
5 | @@ -48,7 +48,8 @@ | ||
6 | |||
7 | #if defined (i386) || defined (__sparc__) || defined (__arm__) || \ | ||
8 | defined (__mips__) || defined (__s390__) || defined (__sh__) || \ | ||
9 | - defined(__x86_64__) || defined (__avr32__) || defined(__cris__) | ||
10 | + defined(__x86_64__) || defined (__avr32__) || defined(__cris__) || \ | ||
11 | + defined (__nios2__) | ||
12 | #define BSD_LABELSECTOR 1 | ||
13 | #define BSD_LABELOFFSET 0 | ||
14 | #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) | ||