From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9C1E51384B4 for ; Sun, 3 Jan 2016 16:19:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C0120E0848; Sun, 3 Jan 2016 16:19:23 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4EB45E0848 for ; Sun, 3 Jan 2016 16:19:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28DD834070F for ; Sun, 3 Jan 2016 16:19:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C8DECF8 for ; Sun, 3 Jan 2016 16:19:19 +0000 (UTC) From: "Jory Pratt" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jory Pratt" Message-ID: <1451837903.ad8a8ef884bc60409d3cbbb1256fb5395dc8087b.anarchy@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: sys-apps/iproute2/files/ X-VCS-Repository: proj/musl X-VCS-Files: sys-apps/iproute2/files/iproute2-4.3.0-musl-noiptables.patch X-VCS-Directories: sys-apps/iproute2/files/ X-VCS-Committer: anarchy X-VCS-Committer-Name: Jory Pratt X-VCS-Revision: ad8a8ef884bc60409d3cbbb1256fb5395dc8087b X-VCS-Branch: master Date: Sun, 3 Jan 2016 16:19:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d0f431bd-2c4a-492b-96ce-6d2358f847bd X-Archives-Hash: 915e12e0f1beca7cdbe36b438c8856b1 commit: ad8a8ef884bc60409d3cbbb1256fb5395dc8087b Author: Jory A. Pratt gentoo org> AuthorDate: Sun Jan 3 16:18:23 2016 +0000 Commit: Jory Pratt gentoo org> CommitDate: Sun Jan 3 16:18:23 2016 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ad8a8ef8 iproute2 - add missing header for iptables_common.h when building with -iptables .../files/iproute2-4.3.0-musl-noiptables.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/sys-apps/iproute2/files/iproute2-4.3.0-musl-noiptables.patch b/sys-apps/iproute2/files/iproute2-4.3.0-musl-noiptables.patch new file mode 100644 index 0000000..ef91814 --- /dev/null +++ b/sys-apps/iproute2/files/iproute2-4.3.0-musl-noiptables.patch @@ -0,0 +1,38 @@ +From 560dee4b4be54699c0c9679771c9e0d61e4db80a Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Thu, 19 Nov 2015 17:48:55 +0100 +Subject: [PATCH] Add missing include +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +The u_intXX_t types are defined in , so it should be +included before using those types. Otherwise, with certain C +libraries, the build fails with: + +In file included from ../include/iptables.h:4:0, + from m_ipt.c:18: +../include/iptables_common.h:47:16: error: unknown type name ‘u_int32_t’ + #define __le32 u_int32_t + +Signed-off-by: Thomas Petazzoni +--- + include/iptables_common.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/include/iptables_common.h b/include/iptables_common.h +index 9099667..2c27a4b 100644 +--- a/include/iptables_common.h ++++ b/include/iptables_common.h +@@ -43,6 +43,8 @@ extern char *lib_dir; + extern void init_extensions(void); + #endif + ++#include ++ + #define __be32 u_int32_t + #define __le32 u_int32_t + #define __be16 u_int16_t +-- +2.6.3 +