forked from pool/util-linux
Marcus Meissner
53709cce71
- fdiskbsdlabel.patch: Fix fdisk compilation on aarch64 OBS-URL: https://build.opensuse.org/request/show/155674 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=155
15 lines
695 B
Diff
15 lines
695 B
Diff
Index: util-linux-2.21.2/fdisk/fdiskbsdlabel.h
|
|
===================================================================
|
|
--- util-linux-2.21.2.orig/fdisk/fdiskbsdlabel.h
|
|
+++ util-linux-2.21.2/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__)
|