From patchwork Sun Dec 29 22:06:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Naour X-Patchwork-Id: 305685 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 43CA22C00B5 for ; Mon, 30 Dec 2013 09:10:47 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 755838BD0C; Sun, 29 Dec 2013 22:10:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tRAqaoFySXn3; Sun, 29 Dec 2013 22:10:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D2C638B989; Sun, 29 Dec 2013 22:10:42 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 12A5E1BFA90 for ; Sun, 29 Dec 2013 22:10:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0A9108C6A7 for ; Sun, 29 Dec 2013 22:10:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XvCrySqKb91b for ; Sun, 29 Dec 2013 22:10:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from zimbra3.corp.accelance.fr (zimbra3.corp.accelance.fr [213.162.49.233]) by whitealder.osuosl.org (Postfix) with ESMTP id 1C2978C692 for ; Sun, 29 Dec 2013 22:10:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra3.corp.accelance.fr (Postfix) with ESMTP id DD3406EC1F for ; Sun, 29 Dec 2013 23:10:37 +0100 (CET) X-Virus-Scanned: amavisd-new at zimbra3.corp.accelance.fr Received: from zimbra3.corp.accelance.fr ([127.0.0.1]) by localhost (zimbra3.corp.accelance.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dySULTBDtn-t; Sun, 29 Dec 2013 23:10:36 +0100 (CET) Received: from localhost.localdomain (sch74-1-88-184-220-198.fbx.proxad.net [88.184.220.198]) by zimbra3.corp.accelance.fr (Postfix) with ESMTPSA id 53FF66EC0C; Sun, 29 Dec 2013 23:10:36 +0100 (CET) From: Romain Naour To: buildroot@busybox.net Date: Sun, 29 Dec 2013 23:06:19 +0100 Message-Id: <1388354779-17875-1-git-send-email-romain.naour@openwide.fr> X-Mailer: git-send-email 1.8.1.4 Subject: [Buildroot] [v2 1/1] xenomai: fix build failure when HAVE_OPEN64 is undefined 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/d59/d590be34637a4043c929ce615f9db504484be435/build-end.log Upstream patch: http://git.xenomai.org/xenomai-2.6.git/commit/?id=71345fe15f126ae3a596af309945d0af6edfbbbb Acked-by: "Yann E. MORIN" Signed-off-by: Romain Naour --- ...uild-failure-when-HAVE_OPEN64-is-undefine.patch | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch diff --git a/package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch b/package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch new file mode 100644 index 0000000..ce43676 --- /dev/null +++ b/package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch @@ -0,0 +1,30 @@ +From 71345fe15f126ae3a596af309945d0af6edfbbbb Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Sun, 29 Dec 2013 18:00:25 +0100 +Subject: [PATCH 1/1] posix: fix build failure when HAVE_OPEN64 is undefined. + +fixes: http://autobuild.buildroot.org/results/d59/d590be34637a4043c929ce615f9db504484be435/build-end.log + +Signed-off-by: Romain Naour +--- + src/skins/posix/rtdm.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/skins/posix/rtdm.c b/src/skins/posix/rtdm.c +index 5840c64..d6c87dc 100644 +--- a/src/skins/posix/rtdm.c ++++ b/src/skins/posix/rtdm.c +@@ -107,8 +107,9 @@ int __wrap_open64(const char *path, int oflag, ...) + errno = EMFILE; + ret = -1; + } ++ } + #endif +- } else { ++ else { + errno = -ret; + ret = -1; + } +-- +1.8.1.4 +