From patchwork Thu Nov 7 20:47:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1191419 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=none (p=none dis=none) header.from=t-online.de 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 478FpW3xDnz9sPK for ; Fri, 8 Nov 2019 07:47:46 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E8F51878A0; Thu, 7 Nov 2019 20:47:42 +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 KdZu7uo26JXg; Thu, 7 Nov 2019 20:47:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E8A898744F; Thu, 7 Nov 2019 20:47:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id CC6B91BF9BF for ; Thu, 7 Nov 2019 20:47:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C60A985B80 for ; Thu, 7 Nov 2019 20:47:39 +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 Sdgmr3f86_PY for ; Thu, 7 Nov 2019 20:47:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 9D1E785A97 for ; Thu, 7 Nov 2019 20:47:38 +0000 (UTC) Received: from fwd01.aul.t-online.de (fwd01.aul.t-online.de [172.20.27.147]) by mailout05.t-online.de (Postfix) with SMTP id 38C1C427A8A5 for ; Thu, 7 Nov 2019 21:47:36 +0100 (CET) Received: from fli4l.lan.fli4l (Z4Cu+ZZaZhkpcvC5pgl-MTMD4+Uj+mIBRjNxSxnrrwrQVWjesms6AWM95ni9ZAdZas@[84.161.180.222]) by fwd01.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1iSogg-2h5PUG0; Thu, 7 Nov 2019 21:47:26 +0100 Received: from mahler.lan.fli4l ([192.168.1.1]:50216) by fli4l.lan.fli4l with esmtp (Exim 4.92.3) (envelope-from ) id 1iSogg-0005Qt-3c for buildroot@buildroot.org; Thu, 07 Nov 2019 21:47:26 +0100 From: Bernd Kuhls To: buildroot@buildroot.org Date: Thu, 7 Nov 2019 21:47:26 +0100 Message-Id: <20191107204726.2834-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-ID: Z4Cu+ZZaZhkpcvC5pgl-MTMD4+Uj+mIBRjNxSxnrrwrQVWjesms6AWM95ni9ZAdZas X-TOI-MSGID: 8d92bc69-54f1-4e5b-ad9b-c290dccf6d67 Subject: [Buildroot] [PATCH 1/1] package/ndisc6: Fix musl build 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: http://autobuild.buildroot.net/results/eec/eecbb0ee0901735db9d5595d2d6b91bb22cca3ca/ Signed-off-by: Bernd Kuhls --- package/ndisc6/0001-Fix-musl-build.patch | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/ndisc6/0001-Fix-musl-build.patch diff --git a/package/ndisc6/0001-Fix-musl-build.patch b/package/ndisc6/0001-Fix-musl-build.patch new file mode 100644 index 0000000000..6a13a435c5 --- /dev/null +++ b/package/ndisc6/0001-Fix-musl-build.patch @@ -0,0 +1,34 @@ +From 12787f5936c79b56b24ffe0a92f4370804070223 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls +Date: Thu, 7 Nov 2019 21:41:34 +0100 +Subject: [PATCH] Fix musl build + +Fixes +src/trace-tcp.c:67:24: error: 'TH_SYN' undeclared (first use in this function); did you mean 'TH_CWR'? + packet->th.th_flags = TH_SYN | (ecn ? (TH_ECE | TH_CWR) : 0); + +Musl guards TH_SYN with if defined(_GNU_SOURCE): +https://git.musl-libc.org/cgit/musl/tree/include/netinet/tcp.h#n82 + +Patch sent via email to upstream. + +Signed-off-by: Bernd Kuhls +--- + src/trace-tcp.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/src/trace-tcp.c b/src/trace-tcp.c +index 5aba9d4..1b367ae 100644 +--- a/src/trace-tcp.c ++++ b/src/trace-tcp.c +@@ -21,7 +21,6 @@ + # include + #endif + +-#undef _GNU_SOURCE + #define _DEFAULT_SOURCE 1 + + #include +-- +2.20.1 +