From patchwork Tue Jan 9 23:53:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Prado X-Patchwork-Id: 857841 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) 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; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=e-labworks-com.20150623.gappssmtp.com header.i=@e-labworks-com.20150623.gappssmtp.com header.b="fmellq8L"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zGTWJ4d06z9sRm for ; Wed, 10 Jan 2018 10:54:03 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 13BD089EB0; Tue, 9 Jan 2018 23:54:00 +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 xawFPsUxnGrb; Tue, 9 Jan 2018 23:53:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 1F8B389E0C; Tue, 9 Jan 2018 23:53:59 +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 272ED1C1470 for ; Tue, 9 Jan 2018 23:53:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 20AEA89E0C for ; Tue, 9 Jan 2018 23:53:58 +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 kKX8Y1CTnf7O for ; Tue, 9 Jan 2018 23:53:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt0-f196.google.com (mail-qt0-f196.google.com [209.85.216.196]) by hemlock.osuosl.org (Postfix) with ESMTPS id DC33D89D38 for ; Tue, 9 Jan 2018 23:53:56 +0000 (UTC) Received: by mail-qt0-f196.google.com with SMTP id i40so20022957qti.8 for ; Tue, 09 Jan 2018 15:53:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=e-labworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=MhlaxDK6Tl8Et/ltA+pRlznApuWa+omfiJhiAQwv5/g=; b=fmellq8Le+nOiunc2eDlHfNz0GFgBOk94SjDdYR4D3YCZqlmCzQhuOgp8DjG0AdZM3 6e5BPmGEyFmVWST2wbKYq2XAys3zkkiebq7qcw+nSRh363bG3kC+n3bywhUys6Wmk2HC 2VrjchULtmtJKBOaRzRWTswaMPCnXEpKV1C+OF8EKF9JBeIF4P8ZQbj+PU6d/1q1r68s f6sOJIrc9Nqg9ZgdheFopUs7O8IWY4q+sB683bYD79DAIA4dqbmHzNX0i43mxpaiQWTs LkF4mX/Ljq9FysSL8FbhVAmlVylgFCSlZ5PrQwFkt8ErlXpqK2VLBsGj93TvRMr8nU6l xVGg== 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=MhlaxDK6Tl8Et/ltA+pRlznApuWa+omfiJhiAQwv5/g=; b=YkPdIvykbOLAAbeMEAfCOsRU7o+3D3zBonPetfZ/i8zY8+A9TYvcrE9Sn6YKk/+XHk Xolp8jKvXbIeBsGed0iJfoQ5cv801uhifA6VwXitYbG3OG6wqizBhXb3mNlRak9oiPk3 O84knMLTQQiVcps0Hz2IJmuYQzihL87JqbDgOLioKijNXfHL6fPIHspwxIfvjk2rmW8i i51iS8dAc12Zd9hmYKQKpDek6abAwZADXgQBA1aTTVGIES/27ri8LEz6NrQ1Q6z4O+dd qpEIO+ul/oPq7B9hZYmsdglZcXd/r5IbcS1CeynrGuHXRPmbnMO0aE2iCR8v00Y8HvpC YG8A== X-Gm-Message-State: AKwxyte6Jo7sLbATqz+Wz3ak8k8e0pcgPXWuEaKP5hExqE7EuXCawCw8 hV8abdvp+ctKQ3h+LTbb3hG3hPAP X-Google-Smtp-Source: ACJfBosAkIl2O55R/VFzz1LQ7Gz4lgw4c9bPKwTt3NMzGuCZm9GPINzh2MoBgTqoBsz6E6K3MZinIQ== X-Received: by 10.200.48.19 with SMTP id f19mr24272741qte.151.1515542035632; Tue, 09 Jan 2018 15:53:55 -0800 (PST) Received: from localhost.localdomain ([189.100.34.201]) by smtp.gmail.com with ESMTPSA id h63sm982238qkf.86.2018.01.09.15.53.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Jan 2018 15:53:54 -0800 (PST) From: Sergio Prado To: buildroot@buildroot.org Date: Tue, 9 Jan 2018 21:53:37 -0200 Message-Id: <1515542017-12235-1-git-send-email-sergio.prado@e-labworks.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH] daq: fix build against the musl C library X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sergio Prado MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Musl doesn't have , so let's change to . Fixes: http://autobuild.buildroot.net/results/054f6581f67338b28af4dc2203b285ae1055581c http://autobuild.buildroot.net/results/99ec5d70b2ecf3a17fd5b5461d3e6b8ec0d22bfa Signed-off-by: Sergio Prado --- ...0001-Fix-build-against-the-musl-C-library.patch | 43 +++++++++++++++++----- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/package/daq/0001-Fix-build-against-the-musl-C-library.patch b/package/daq/0001-Fix-build-against-the-musl-C-library.patch index a37fe9a7ec56..25f2f9c498a7 100644 --- a/package/daq/0001-Fix-build-against-the-musl-C-library.patch +++ b/package/daq/0001-Fix-build-against-the-musl-C-library.patch @@ -1,29 +1,54 @@ -From d3eec1a3b7c67a5e6f524c65608fd2eacac3782b Mon Sep 17 00:00:00 2001 +From 42efa6d76a3b52f35e576a6b941a9afb5b3879e9 Mon Sep 17 00:00:00 2001 From: Sergio Prado -Date: Sun, 24 Dec 2017 12:58:49 -0200 +Date: Tue, 9 Jan 2018 21:39:27 -0200 Subject: [PATCH] Fix build against the musl C library Signed-off-by: Sergio Prado --- os-daq-modules/daq_ipfw.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + os-daq-modules/daq_ipq.c | 2 +- + os-daq-modules/daq_nfq.c | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/os-daq-modules/daq_ipfw.c b/os-daq-modules/daq_ipfw.c -index 016beb06ad61..c2a41759bb04 100644 +index 016beb06ad61..98f67717f646 100644 --- a/os-daq-modules/daq_ipfw.c +++ b/os-daq-modules/daq_ipfw.c -@@ -23,10 +23,10 @@ - #include - #include - #include -+#include +@@ -26,7 +26,7 @@ #include #include -#include ++#include #include #include +diff --git a/os-daq-modules/daq_ipq.c b/os-daq-modules/daq_ipq.c +index 77ec6e9505e5..b15e5cf82af0 100644 +--- a/os-daq-modules/daq_ipq.c ++++ b/os-daq-modules/daq_ipq.c +@@ -27,7 +27,7 @@ + + #include + #include +-#include ++#include + + #include + +diff --git a/os-daq-modules/daq_nfq.c b/os-daq-modules/daq_nfq.c +index 33021c0ec991..0df1e61c74c4 100644 +--- a/os-daq-modules/daq_nfq.c ++++ b/os-daq-modules/daq_nfq.c +@@ -27,7 +27,7 @@ + + #include + #include +-#include ++#include + + #include + -- 1.9.1