From patchwork Mon Apr 1 05:55:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1072351 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (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; 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.b="GjR16VH8"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44XhRd42Zmz9s7h for ; Mon, 1 Apr 2019 16:56:29 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 803AF82492; Mon, 1 Apr 2019 05:56:24 +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 oh9v3d5BrjyJ; Mon, 1 Apr 2019 05:56:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 7C3D0820FC; Mon, 1 Apr 2019 05:56:22 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E9A351BF842 for ; Mon, 1 Apr 2019 05:56:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id E4C982221C for ; Mon, 1 Apr 2019 05:56:20 +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 bysPpb9O5dz6 for ; Mon, 1 Apr 2019 05:56:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by silver.osuosl.org (Postfix) with ESMTPS id 2021D221D5 for ; Mon, 1 Apr 2019 05:56:20 +0000 (UTC) Received: by mail-wr1-f43.google.com with SMTP id k17so10176989wrx.10 for ; Sun, 31 Mar 2019 22:56:20 -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=Gm6aBySAy5m9TaEvXX87W448m+gA0LNwS/ih4hAw6cQ=; b=GjR16VH8IDOCyb6HxtllUIKkf+V5uwarvNGH3hFO/pSMSMW0r4TS2dV6EaZfycY3ob urmCK+8ABNrAy68U9A6toP0zT87/Ht0Ige9eIcwNF42V8dMJM9ReeMG7Vd0Bpi+n8z6D Af0vdAFGb74y2r7Faj9sfIMqoL34860bpK/gBxQLajayfvvun8eic6xtKgWz4lFzx0ar qN66F01pGjwGSxo8CQa2S8t3wu7XyFBRVhx2uS0IqHHZFK8rkN+jDJK90WAn93KDJPN3 P8YSUdvw9A+Cya5OoF3l/VFyErgtsMQIlsU9ndzxssTSuW5PTjCk+W5Wq5nuJRBfA5Co xerg== 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=Gm6aBySAy5m9TaEvXX87W448m+gA0LNwS/ih4hAw6cQ=; b=pAPTG42taiYwsoMLKiXpY9ldwrHIALkPqgybiHkPDVWaqHeWN8Szsp2mI048HJa4ls CgYUhACAblKUefBVu+7QS+Mzs4n39sxjlj71UXSokN2MNxwzt7+FogGpTY9401KFFTtv XpAO/dU1334ioJU99VbB3egN067g+CiW298ckNIgF/m3gj8V8jO6r0ziz8ZASuMSBsRf uF17DfwF7lKCJ4BH/ZFCceGUWVOiXaK9hDQkLVKpOj4byeNt5ulvzQ9H8rMVaMMJ/KsO cK30KfeBCsBr1kFgWGliFAOJPhxB788043jiYR5LZTx56cJlvvMpyUKoyXfLmNYW0U3u t+pQ== X-Gm-Message-State: APjAAAUzyeXOu5T/L6wUufawNHFF5AHpUXuJxflE5Tg271tKHLOVCdbM 2mczaNRaWX8v0aiasVcKO23KKJyN X-Google-Smtp-Source: APXvYqxesCB2/6EEEHxABrDApRxX9c3RpilPftN/+o5BfXHN42esJv9EcCW6g0z5wJtNvK+5HxDTNA== X-Received: by 2002:a5d:63c4:: with SMTP id c4mr38255568wrw.307.1554098178319; Sun, 31 Mar 2019 22:56:18 -0700 (PDT) Received: from localhost.localdomain ([92.184.117.141]) by smtp.gmail.com with ESMTPSA id g3sm7344818wmk.32.2019.03.31.22.56.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Mar 2019 22:56:17 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Mon, 1 Apr 2019 07:55:43 +0200 Message-Id: <20190401055543.21087-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [Buildroot] [PATCH 1/1] package/rpm: fix nss build on 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: Fabrice Fontaine , James Knight MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: - http://autobuild.buildroot.org/results/395fd44a930dfc2ad380bc735c26d9ce62344295 Signed-off-by: Fabrice Fontaine --- ...0002-rpmio-digest_nss.c-fix-build-on-musl.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch diff --git a/package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch b/package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch new file mode 100644 index 0000000000..66aeb64786 --- /dev/null +++ b/package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch @@ -0,0 +1,32 @@ +From 817dbe77e3e5a6d89540000a48584358efb4b03a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine +Date: Mon, 1 Apr 2019 07:33:19 +0200 +Subject: [PATCH] rpmio/digest_nss.c: fix build on musl + +signal.h must be included to be able to use sigaction + +Fixes: + - http://autobuild.buildroot.org/results/395fd44a930dfc2ad380bc735c26d9ce62344295 + +Signed-off-by: Fabrice Fontaine +[Upstream status: +https://github.com/rpm-software-management/rpm/pull/650] +--- + rpmio/digest_nss.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/rpmio/digest_nss.c b/rpmio/digest_nss.c +index 50f8c8e90..1692a9221 100644 +--- a/rpmio/digest_nss.c ++++ b/rpmio/digest_nss.c +@@ -3,6 +3,7 @@ + #include + #include + #include ++#include + #include + #include + #include +-- +2.14.1 +