From patchwork Mon Aug 17 21:51:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Heading X-Patchwork-Id: 508113 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id AD2CB140293 for ; Tue, 18 Aug 2015 07:51:40 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=Xbv00uTI; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D29A122FDB; Mon, 17 Aug 2015 21:51:39 +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 mRjI5AU7j5r3; Mon, 17 Aug 2015 21:51:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 9C63C23BD1; Mon, 17 Aug 2015 21:51:38 +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 C616E1C16F5 for ; Mon, 17 Aug 2015 21:51:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C477E93BA0 for ; Mon, 17 Aug 2015 21:51:37 +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 w++zE62KLVus for ; Mon, 17 Aug 2015 21:51:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by hemlock.osuosl.org (Postfix) with ESMTPS id E6BAB8A4BE for ; Mon, 17 Aug 2015 21:51:36 +0000 (UTC) Received: by wicja10 with SMTP id ja10so92125326wic.1 for ; Mon, 17 Aug 2015 14:51:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=SpxV8m/KqC1ILbp5JPP9rLOs18cU35aVi4UTdOLg3dc=; b=Xbv00uTIxCM4+7GbjeGIvBVJ/SUFENHvK05XZ7oYOexNCJ9U+01qnVIJBaH6BkbAgW 7HxWuxwdzhfSTW3L3H/Sf0rYxeJVduiUA72rl2hxRlr351nQ2YbdNgLqCKFK3AEgFDgL BZO+S6RKn6nlBPr7TxLeMETiumkPUAEtGxnWUOjeQjpun5JLpmV3ni4ZKsfQ7bzfLy5d 3ysGmghmp3Tnb5/9Zxd1/2zIWHJBD9GMRRwQTnkvxn/+DSJ76VSNvcjEX4227xQ0Xgb0 s/8gZqBVbER2lYeApVtbKFFiCmFzTUbZUnjXx1aUg352mDb8uKK5C5/ub6KEL7y5tzaD xXbw== X-Received: by 10.195.11.3 with SMTP id ee3mr6719048wjd.89.1439848295623; Mon, 17 Aug 2015 14:51:35 -0700 (PDT) Received: from bhfedora.localdomain ([82.15.84.251]) by smtp.gmail.com with ESMTPSA id i1sm23591212wjq.42.2015.08.17.14.51.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Aug 2015 14:51:35 -0700 (PDT) From: Brendan Heading To: buildroot@buildroot.org Date: Mon, 17 Aug 2015 22:51:33 +0100 Message-Id: <1439848293-26836-1-git-send-email-brendanheading@gmail.com> X-Mailer: git-send-email 2.4.3 Cc: Brendan Heading Subject: [Buildroot] [PATCH v2 1/1] package/canfestival: fix musl compilation 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" Fixes: http://autobuild.buildroot.net/results/75a/75aa6e7e4f3dcd74e4b65496060328ec7bd0e747/ ANSI signal handlers take an int parameter, not sigval_t. Upstream-status: pending --- v1 -> v2 - added missing link to autobuild failure in commit comment --- Signed-off-by: Brendan Heading --- .../canfestival/0003-fix-musl-compilation.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/canfestival/0003-fix-musl-compilation.patch diff --git a/package/canfestival/0003-fix-musl-compilation.patch b/package/canfestival/0003-fix-musl-compilation.patch new file mode 100644 index 0000000..dfe16a7 --- /dev/null +++ b/package/canfestival/0003-fix-musl-compilation.patch @@ -0,0 +1,22 @@ +# HG changeset patch +# User Brendan Heading +# Date 1439845818 -3600 +# Mon Aug 17 22:10:18 2015 +0100 +# Node ID 7d62beec4f813074ba250231762f4b84395cc354 +# Parent 8bfe0ac00cdb4d473664fcbf1228a0f6a42eee15 +Fix MUSL compilation issue + +signal handler parameter fixed to be int instead of sigval_t. + +diff -r 8bfe0ac00cdb -r 7d62beec4f81 drivers/timers_unix/timers_unix.c +--- a/drivers/timers_unix/timers_unix.c Mon Aug 03 18:01:58 2015 +0200 ++++ b/drivers/timers_unix/timers_unix.c Mon Aug 17 22:10:18 2015 +0100 +@@ -33,7 +33,7 @@ + } + } + +-void timer_notify(sigval_t val) ++void timer_notify(int val) + { + if(gettimeofday(&last_sig,NULL)) { + perror("gettimeofday()");