summaryrefslogtreecommitdiffstats
path: root/package/util-linux/util-linux-003-fdisk-aarch64-support.patch
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-02-04 12:52:07 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-02-05 15:56:33 +0100
commit01e859ebffe7e0e335ba0b834789c04afea3f404 (patch)
treedcf1058a8f94c9ac702cf638537656509febb226 /package/util-linux/util-linux-003-fdisk-aarch64-support.patch
parentbefb9a3ee0c5994162f527d8ef763d57d68ec48e (diff)
downloadbuildroot-novena-01e859ebffe7e0e335ba0b834789c04afea3f404.tar.gz
buildroot-novena-01e859ebffe7e0e335ba0b834789c04afea3f404.zip
util-linux: add numbers to patches
As we are going to add an Xtensa related patch that needs to be applied *after* the AArch64 patch, let's first add a number to each util-linux patch file name, so that we know they will be applied in the right order. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/util-linux/util-linux-003-fdisk-aarch64-support.patch')
-rw-r--r--package/util-linux/util-linux-003-fdisk-aarch64-support.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/util-linux/util-linux-003-fdisk-aarch64-support.patch b/package/util-linux/util-linux-003-fdisk-aarch64-support.patch
new file mode 100644
index 000000000..825e82cf3
--- /dev/null
+++ b/package/util-linux/util-linux-003-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__)