From: "Jory Pratt" <anarchy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/musl:master commit in: sys-apps/iproute2/files/
Date: Sun, 3 Jan 2016 16:19:19 +0000 (UTC) [thread overview]
Message-ID: <1451837903.ad8a8ef884bc60409d3cbbb1256fb5395dc8087b.anarchy@gentoo> (raw)
commit: ad8a8ef884bc60409d3cbbb1256fb5395dc8087b
Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 3 16:18:23 2016 +0000
Commit: Jory Pratt <anarchy <AT> gentoo <DOT> 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 <thomas.petazzoni@free-electrons.com>
+Date: Thu, 19 Nov 2015 17:48:55 +0100
+Subject: [PATCH] Add missing <sys/types.h> include
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The u_intXX_t types are defined in <sys/types.h>, 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 <thomas.petazzoni@free-electrons.com>
+---
+ 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 <sys/types.h>
++
+ #define __be32 u_int32_t
+ #define __le32 u_int32_t
+ #define __be16 u_int16_t
+--
+2.6.3
+
next reply other threads:[~2016-01-03 16:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-03 16:19 Jory Pratt [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-02-21 20:36 [gentoo-commits] proj/musl:master commit in: sys-apps/iproute2/files/ Aric Belsito
2018-01-30 20:59 Aric Belsito
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1451837903.ad8a8ef884bc60409d3cbbb1256fb5395dc8087b.anarchy@gentoo \
--to=anarchy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox