From patchwork Mon Jun 22 17:59:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Kahlon X-Patchwork-Id: 1314662 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=bup1gzS+; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49rHJj45Thz9sQt for ; Tue, 23 Jun 2020 04:00:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D55D8891A0; Mon, 22 Jun 2020 18:00:47 +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 WocYL0b316Cw; Mon, 22 Jun 2020 18:00:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4EE23891EA; Mon, 22 Jun 2020 18:00:46 +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 6A90B1BF332 for ; Mon, 22 Jun 2020 18:00:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 6537E891EA for ; Mon, 22 Jun 2020 18:00:44 +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 amERz7LJseg5 for ; Mon, 22 Jun 2020 18:00:43 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by hemlock.osuosl.org (Postfix) with ESMTPS id A97C8891A0 for ; Mon, 22 Jun 2020 18:00:43 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id l11so17636846wru.0 for ; Mon, 22 Jun 2020 11:00:43 -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:mime-version :content-transfer-encoding; bh=BQeK3KynfKgwFO/KUSE3o9AnnSsHFUg1gLWOtnEJMR8=; b=bup1gzS+UhiKcpaulGKE6nM3TBx73lWZ5OmJ/NrPQeC5Hpu13g1NCe4oRU5XlJk9PR M/6cP5iRqFOPBcXMX/q/v4FIiJnLqNu1u6bC2OjIe2PeQLVst+2J5ocCLhDoPkaXcE2P wVSx8VQdeRaRg0BJUEFr/ekTedbJ584Cfdm019WvIzPHXScV5HT8fRO4mIuHjvfm4LrW DnJj+aQR6xPXPnD/zKYq9S9/kY4NnbjkMCUBvBpuDe8LV2Cy11lgk7L+WFCBSH8gHa6E eRrXCnm3M9nOiolEVVcX/cKyj/RDzkxdjvd8n5pDH/KjOeGUTrQKtOScWjUT/AN9FiRF 9Q9g== 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:mime-version :content-transfer-encoding; bh=BQeK3KynfKgwFO/KUSE3o9AnnSsHFUg1gLWOtnEJMR8=; b=gFu7tSz8SN0zF5Gmd+SOzBsebSPm6iKF5TiPOh/VoJ/rpYw3+D0SVpWPwfddSmH8DP rhNYKrjy2o60+soL0G3unF7VvZHqO+oLnqZQdVfxPv14GZiblPWZu9+C7m+9LhwzxtR1 /8WW6rgF0Lpzme3KeJwhbRAZzkDuctH7HYlCiy9nKuz35c7TQ8yhdyijirke3vb4yS/b XZ1/3wtyK1QCJdQaO3FgailEZ5bzxoQqYbpj/eJA6EM2P9hv+DjrnXDfb+FU6FrjLarh 3LJ51VtWLP22nc0JXTl9zM19HI3VcEQPUbdJMQBm6PzV8mcSqxSt+uN1AquqLOIDyCiS yS2A== X-Gm-Message-State: AOAM533++jcLCCMGd+gjwCLQV25kWLpc8AHNW4zVinrJ/6fww18Xnd0b HsWdd/bavn7CJ/mUJFzhPBzSn5z6XN4= X-Google-Smtp-Source: ABdhPJw+Yy/5wFCDJ0Gf6A8vnbzHWXXLCj5Y7AdRayVpEFK01ijI/IqAjPZuQn7gNnaABFUmz+BqPA== X-Received: by 2002:a5d:5483:: with SMTP id h3mr20837335wrv.10.1592848841884; Mon, 22 Jun 2020 11:00:41 -0700 (PDT) Received: from localhost.localdomain (bzq-84-108-4-25.cablep.bezeqint.net. [84.108.4.25]) by smtp.gmail.com with ESMTPSA id i15sm18689527wre.93.2020.06.22.11.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jun 2020 11:00:41 -0700 (PDT) From: Asaf Kahlon To: buildroot@buildroot.org Date: Mon, 22 Jun 2020 20:59:55 +0300 Message-Id: <20200622175955.256750-1-asafka7@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] fuse-overlayfs: fix build with musl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christian Stewart , Asaf Kahlon Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: http://autobuild.buildroot.net/results/57d/57d6f6bcbf3c0f8761c924f8a69c71dee05dd6c3// Signed-off-by: Asaf Kahlon --- ...1-direct.c-fix-compilation-with-musl.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch diff --git a/package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch b/package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch new file mode 100644 index 0000000000..66b4e24346 --- /dev/null +++ b/package/fuse-overlayfs/0001-direct.c-fix-compilation-with-musl.patch @@ -0,0 +1,28 @@ +From 27a01e622e1f26b3c60137c3123c0b667b3f6579 Mon Sep 17 00:00:00 2001 +From: Asaf Kahlon +Date: Mon, 22 Jun 2020 20:48:36 +0300 +Subject: [PATCH 1/1] direct.c: fix compilation with musl + +Upstream PR status: +https://github.com/containers/fuse-overlayfs/pull/219 + +Signed-off-by: Asaf Kahlon +--- + direct.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/direct.c b/direct.c +index 67bed20..39e5c8f 100644 +--- a/direct.c ++++ b/direct.c +@@ -25,6 +25,7 @@ + + #include "fuse-overlayfs.h" + ++#include "limits.h" + #include + #include + #include +-- +2.26.2 +