From patchwork Wed Aug 2 18:05:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Bedarkar X-Patchwork-Id: 796739 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="LOZ23kC9"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xN1MS6wJsz9sPk for ; Thu, 3 Aug 2017 04:05:56 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 41D1686BA1; Wed, 2 Aug 2017 18:05:55 +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 I-luLPtwBcey; Wed, 2 Aug 2017 18:05:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5364686C25; Wed, 2 Aug 2017 18:05:54 +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 A27411BFBB5 for ; Wed, 2 Aug 2017 18:05:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 98BAC86C25 for ; Wed, 2 Aug 2017 18:05:52 +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 ftMTHC0yN4Yh for ; Wed, 2 Aug 2017 18:05:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by whitealder.osuosl.org (Postfix) with ESMTPS id A0A7A86BA1 for ; Wed, 2 Aug 2017 18:05:51 +0000 (UTC) Received: by mail-pf0-f179.google.com with SMTP id d67so24066718pfc.0 for ; Wed, 02 Aug 2017 11:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=t3zlI7NDPzGT75oEi96OgjDdWpYypn/hcZgBhVIzXeM=; b=LOZ23kC9yEI0ExrJ0xAOktNGR388G4dcGeRqbvyXBfiPkg21I3GPe0wVfinVmfahf8 fNdN0afWLQI1E+CK605SPn7ink46Kcv4ktmouYYsPZcOvbJ8HIEEETbnV76yMKx7p8sI F5O9y+M1f0H3aj2kYeNx/u1RMoPd96BW2efUNdZ9QfPBTA5aA3GsYxjRwdvSSaJZ4nNG K10MnMbnM2O47xqNahCMVqMU/75L1uAUjDopu+bsRURUyit+0oMVhq5QyRkTaKPVou/M nlGr+PY049HfHpkJPh/Nw829qmwxDaN6qPQkSK3ZHE51TEZwMYkwd0Ve1/4VfYvSaU+j zrHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=t3zlI7NDPzGT75oEi96OgjDdWpYypn/hcZgBhVIzXeM=; b=pw0XLyPFMDCWnXJpjAmsD6/F3WKPAYuJAZ2Iz/IY6mkebCJtatOrxm0VqFyQ4dFJoQ dC2Xpt+baNH7bsOTFjNlAfZID44hQ1tO4JHQoOzybukTSuEj1cgOoBJdrI+0JaZ6C0ZH yNBqKYrTj66zmWHJEN1HR0QxrRgMs2lg2MahRIT4QaH8+/PBUKpw2hKSuZ+qMnxH+bxX XpYcH2BxdwVU+h0wDN+oowjhTJzwOV27j6azqwdKLrFkXy/aWJdz0yEKTNx2FQInxbtc 3z1aNenFWOqn6l+CdDjeqsR1wVMSGn9ndvPvnmpg18UQ42J+NsBtWMHFgvpzRKROC80g vdFA== X-Gm-Message-State: AIVw111sFFT6qeMZu2TDKkVP4a48nHRvxyiP3aYFZfVeXAS9AhaXExLT GLDuxj20a/VcSM5rbyI= X-Received: by 10.84.139.40 with SMTP id 37mr26594480plq.153.1501697150991; Wed, 02 Aug 2017 11:05:50 -0700 (PDT) Received: from localhost.localdomain ([49.200.131.216]) by smtp.gmail.com with ESMTPSA id z16sm21504995pff.178.2017.08.02.11.05.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Aug 2017 11:05:50 -0700 (PDT) From: Rahul Bedarkar To: buildroot@buildroot.org Date: Wed, 2 Aug 2017 23:35:39 +0530 Message-Id: <1501697139-9059-1-git-send-email-rahulbedarkar89@gmail.com> X-Mailer: git-send-email 2.7.4 Cc: Rahul Bedarkar Subject: [Buildroot] [PATCH] let-me-create: fix build with 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" Add a patch to fix build with musl C library. Fixes: http://autobuild.buildroot.net/results/af946fa6fe05ee265e4ac97742b15afeb0cea1ab Signed-off-by: Rahul Bedarkar --- .../0001-fix-build-with-musl-C-library.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 package/let-me-create/0001-fix-build-with-musl-C-library.patch diff --git a/package/let-me-create/0001-fix-build-with-musl-C-library.patch b/package/let-me-create/0001-fix-build-with-musl-C-library.patch new file mode 100644 index 0000000..90a7246 --- /dev/null +++ b/package/let-me-create/0001-fix-build-with-musl-C-library.patch @@ -0,0 +1,38 @@ +From 93fbc53a727a49dd5061e44e3156ff2044e6e0b5 Mon Sep 17 00:00:00 2001 +From: Rahul Bedarkar +Date: Tue, 1 Aug 2017 22:44:22 +0530 +Subject: [PATCH] fix build with musl C library + +With musl C library, we get following build error: + +/home/buildroot/autobuild/run/instance-3/output/build/let-me-create-v1.5.2/src/core/spi.c: In function 'spi_transfer': +/home/buildroot/autobuild/run/instance-3/output/build/let-me-create-v1.5.2/src/core/spi.c:170:19: error: '_IOC_SIZEBITS' undeclared (first use in this function) +if (ioctl(fd, SPI_IOC_MESSAGE(1), &tr) < 0) { +^ +/home/buildroot/autobuild/run/instance-3/output/build/let-me-create-v1.5.2/src/core/spi.c:170:19: note: each undeclared identifier is reported only once for each function it appears in + +Include for musl C library compatibility. + +This build issue is detected by Buildroot autobuilder: +http://autobuild.buildroot.net/results/af9/af946fa6fe05ee265e4ac97742b15afeb0cea1ab/ + +Signed-off-by: Rahul Bedarkar rahulbedarkar89@gmail.com +--- +Upstream status: https://github.com/CreatorDev/LetMeCreate/pull/29 + + src/core/spi.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/core/spi.c b/src/core/spi.c +index 4d55cee..9ec7ea9 100644 +--- a/src/core/spi.c ++++ b/src/core/spi.c +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + #include +-- +2.7.4 +