From patchwork Fri Apr 21 10:33:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Condarelli X-Patchwork-Id: 753277 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w8XXy4mMRz9rxl for ; Fri, 21 Apr 2017 20:49:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 853C88A765; Fri, 21 Apr 2017 10:49:02 +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 M1QGYGRdlgH9; Fri, 21 Apr 2017 10:49:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 11DA78A50B; Fri, 21 Apr 2017 10:49:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id A2A341C0655 for ; Fri, 21 Apr 2017 10:48:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 9D5A68A4DC for ; Fri, 21 Apr 2017 10:48:59 +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 TUm9zQAgjyEm for ; Fri, 21 Apr 2017 10:48:57 +0000 (UTC) X-Greylist: delayed 00:15:01 by SQLgrey-1.7.6 Received: from relaygw2-3.mclink.it (relaygw2-3.mclink.it [213.21.178.138]) by hemlock.osuosl.org (Postfix) with ESMTP id 5F6048A4D4 for ; Fri, 21 Apr 2017 10:48:57 +0000 (UTC) Received: from smtpoutgw2.mclink.it ([172.24.30.42] verified) by relaygw2-3.mclink.it (CommuniGate Pro SMTP 6.0.4) with ESMTP id 105961751 for buildroot@buildroot.org; Fri, 21 Apr 2017 12:33:54 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2AZCgB/3/lY/xA2E1dcHgYMg1RBFoEWjm+RAh4BjQ+IKoIPhiSEB0AYAQIBAQEBAQEBaygEAwECAgGGCE8He4oPEQGsH4tRhWCLDIUZBYEsAQEBnAAIAQGBG5FcDYIAhTOKIpQWHziBBoIlgzABAQh7gUw+MQSJLgEBAQ Received: from host16-54-dynamic.19-87-r.retail.telecomitalia.it (HELO vocore.condarelli.it) ([87.19.54.16]) by smtpoutgw2.mclink.it with ESMTP; 21 Apr 2017 12:33:50 +0200 From: Mauro Condarelli To: buildroot@buildroot.org Date: Fri, 21 Apr 2017 12:33:08 +0200 Message-Id: <20170421103308.6557-1-mc5686@mclink.it> X-Mailer: git-send-email 2.11.0 Cc: Thomas Petazzoni Subject: [Buildroot] [PATCH 1/1] Simple additional patch to allow compilation of python-3.6.1 under mipsel-buildroot-linux-musl. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Signed-off-by: Mauro Condarelli --- .../0005-mips-musl-fix-sgidefs_h-not-found-error.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/libffi/0005-mips-musl-fix-sgidefs_h-not-found-error.patch diff --git a/package/libffi/0005-mips-musl-fix-sgidefs_h-not-found-error.patch b/package/libffi/0005-mips-musl-fix-sgidefs_h-not-found-error.patch new file mode 100644 index 000000000..b9490f30a --- /dev/null +++ b/package/libffi/0005-mips-musl-fix-sgidefs_h-not-found-error.patch @@ -0,0 +1,12 @@ +diff -ru libffi-3.2.1_/src/mips/ffitarget.h libffi-3.2.1/src/mips/ffitarget.h +--- libffi-3.2.1_/src/mips/ffitarget.h 2014-11-08 13:47:24.000000000 +0100 ++++ libffi-3.2.1/src/mips/ffitarget.h 2017-04-21 10:53:23.447304581 +0200 +@@ -32,7 +32,7 @@ + #error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." + #endif + +-#ifdef linux ++#ifdef __linux__ + # include + #elif defined(__rtems__) + /*