From patchwork Mon Aug 17 21:48:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Heading X-Patchwork-Id: 508112 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id CB9B914029C for ; Tue, 18 Aug 2015 07:48:55 +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=siy8cF5j; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 042CDA3529; Mon, 17 Aug 2015 21:48:55 +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 8La_bfOtaNaO; Mon, 17 Aug 2015 21:48:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C2FE7A3503; Mon, 17 Aug 2015 21:48:51 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 5DC0C1C16F5 for ; Mon, 17 Aug 2015 21:48:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 5955589975 for ; Mon, 17 Aug 2015 21:48:50 +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 LN+7Rc9lfirv for ; Mon, 17 Aug 2015 21:48:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by whitealder.osuosl.org (Postfix) with ESMTPS id AB89788C0C for ; Mon, 17 Aug 2015 21:48:49 +0000 (UTC) Received: by wicja10 with SMTP id ja10so92081006wic.1 for ; Mon, 17 Aug 2015 14:48:48 -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=szMo0wWbsti+hBYsNBx5LPBwed9UWrHqsb2PA9rXIW8=; b=siy8cF5jnEDR6YHEcr52SIFn3El7ClKYOBKQXdWj75QtOm9svTbOmmHu2gqaOlIOKd Ego3M53RvESTiYxywWQhGowjFf2xUwEiaxCLdFZWNohGoQyHqxfbp+i6cEpuNBVUtoh8 WbLpvpuVZmdKEPrLRgvtQLuONxzlKcauV5azi7oDmXvD+MjyZTXD8aBFvGq6iwmC3ci0 J7zmmZRJcC/xJCNdVnFv9KhcCcaKTdH47iz0nOAlZ1YBa4ospCB4aRAVhjg9qHyNnNTW OInNiloDjlScQsyMkXynPpn5aXrc5V4YZIi25ow95qq+CoDM0Bat/EQljjm7hLHbvL/N 6dBg== X-Received: by 10.194.113.170 with SMTP id iz10mr6728066wjb.58.1439848128246; Mon, 17 Aug 2015 14:48:48 -0700 (PDT) Received: from bhfedora.localdomain ([82.15.84.251]) by smtp.gmail.com with ESMTPSA id pu6sm23578776wjc.34.2015.08.17.14.48.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Aug 2015 14:48:47 -0700 (PDT) From: Brendan Heading To: buildroot@buildroot.org Date: Mon, 17 Aug 2015 22:48:35 +0100 Message-Id: <1439848115-26645-1-git-send-email-brendanheading@gmail.com> X-Mailer: git-send-email 2.4.3 Cc: Brendan Heading Subject: [Buildroot] [PATCH 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" ANSI signal handlers take an int parameter, not sigval_t. Upstream-status: pending 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()");