From patchwork Sat Dec 15 17:29:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 206628 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 293382C008E for ; Sun, 16 Dec 2012 04:39:18 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 80C1331739; Sat, 15 Dec 2012 17:39:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uUBdr2yAyvCs; Sat, 15 Dec 2012 17:39:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 255EC31745; Sat, 15 Dec 2012 17:39:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 4F9DF8F783 for ; Sat, 15 Dec 2012 17:39:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DD0B4A0486 for ; Sat, 15 Dec 2012 17:38:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wmi5eDP1ytxI for ; Sat, 15 Dec 2012 17:38:56 +0000 (UTC) X-Greylist: delayed 00:09:04 by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.32.191]) by hemlock.osuosl.org (Postfix) with ESMTP id 3607AA008F for ; Sat, 15 Dec 2012 17:38:56 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id C4144188; Sat, 15 Dec 2012 18:29:58 +0100 (CET) Received: from localhost (dam78-1-88-174-64-187.fbx.proxad.net [88.174.64.187]) by mail.free-electrons.com (Postfix) with ESMTPSA id 8D411188 for ; Sat, 15 Dec 2012 18:29:49 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sat, 15 Dec 2012 18:29:40 +0100 Message-Id: <1355592582-31374-4-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355592582-31374-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1355592582-31374-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 3/5] util-linux: fix build on AArch64 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Fixes: http://autobuild.buildroot.org/results/5b63022f4c2d8bdd72697e8007e8a6101a64dd12/build-end.log Signed-off-by: Thomas Petazzoni --- .../util-linux-fdisk-aarch64-support.patch | 22 ++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/util-linux/util-linux-fdisk-aarch64-support.patch 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 0000000..825e82c --- /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 + +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__)