diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-12-15 07:29:40 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-12-15 19:07:22 +0100 |
commit | 24c442bce4cf51dfcce8efbd5e135186e561ea11 (patch) | |
tree | aa8ab1be6a26de97fe4b7bbd23f53c92e8252342 /package/util-linux | |
parent | f23953d8cf7e136366e044166e6c02558d23b477 (diff) | |
download | buildroot-novena-24c442bce4cf51dfcce8efbd5e135186e561ea11.tar.gz buildroot-novena-24c442bce4cf51dfcce8efbd5e135186e561ea11.zip |
util-linux: fix build on AArch64
Fixes:
http://autobuild.buildroot.org/results/5b63022f4c2d8bdd72697e8007e8a6101a64dd12/build-end.log
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/util-linux')
-rw-r--r-- | package/util-linux/util-linux-fdisk-aarch64-support.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/util-linux/util-linux-fdisk-aarch64-support.patch b/package/util-linux/util-linux-fdisk-aarch64-support.patch new file mode 100644 index 000000000..825e82cf3 --- /dev/null +++ b/package/util-linux/util-linux-fdisk-aarch64-support.patch @@ -0,0 +1,22 @@ +Add case for the aarch64 architecture + +Taken from https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1061609 + +Code written by Wookey. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/fdisk/fdiskbsdlabel.h +=================================================================== +--- a/fdisk/fdiskbsdlabel.h ++++ b/fdisk/fdiskbsdlabel.h +@@ -48,7 +48,8 @@ + + #if defined (i386) || defined (__sparc__) || defined (__arm__) || \ + defined (__mips__) || defined (__s390__) || defined (__sh__) || \ +- defined(__x86_64__) || defined (__avr32__) || defined(__cris__) ++ defined(__x86_64__) || defined (__avr32__) || defined(__cris__) || \ ++ defined(__aarch64__) + #define BSD_LABELSECTOR 1 + #define BSD_LABELOFFSET 0 + #elif defined (__alpha__) || defined (__powerpc__) || defined (__ia64__) || defined (__hppa__) |