* [Buildroot] [PATCH next] iproute2: drop obsolete patch
@ 2017-05-22 21:25 Baruch Siach
2017-05-23 13:38 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2017-05-22 21:25 UTC (permalink / raw)
To: buildroot
Since version 4.5.0 the iptables_common.h header is unused. Don't bother
patching this file.
Renumber the following patch.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
.../0002-Add-missing-sys-types.h-include.patch | 38 ----------------------
| 0
2 files changed, 38 deletions(-)
delete mode 100644 package/iproute2/0002-Add-missing-sys-types.h-include.patch
rename package/iproute2/{0003-ip-include-libc-headers-first.patch => 0002-ip-include-libc-headers-first.patch} (100%)
diff --git a/package/iproute2/0002-Add-missing-sys-types.h-include.patch b/package/iproute2/0002-Add-missing-sys-types.h-include.patch
deleted file mode 100644
index ef918140dae1..000000000000
--- a/package/iproute2/0002-Add-missing-sys-types.h-include.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-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
-
diff --git a/package/iproute2/0003-ip-include-libc-headers-first.patch b/package/iproute2/0002-ip-include-libc-headers-first.patch
similarity index 100%
rename from package/iproute2/0003-ip-include-libc-headers-first.patch
rename to package/iproute2/0002-ip-include-libc-headers-first.patch
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH next] iproute2: drop obsolete patch
2017-05-22 21:25 [Buildroot] [PATCH next] iproute2: drop obsolete patch Baruch Siach
@ 2017-05-23 13:38 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2017-05-23 13:38 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 23 May 2017 00:25:44 +0300, Baruch Siach wrote:
> Since version 4.5.0 the iptables_common.h header is unused. Don't bother
> patching this file.
>
> Renumber the following patch.
>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> .../0002-Add-missing-sys-types.h-include.patch | 38 ----------------------
> ...ch => 0002-ip-include-libc-headers-first.patch} | 0
> 2 files changed, 38 deletions(-)
> delete mode 100644 package/iproute2/0002-Add-missing-sys-types.h-include.patch
> rename package/iproute2/{0003-ip-include-libc-headers-first.patch => 0002-ip-include-libc-headers-first.patch} (100%)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-05-23 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-22 21:25 [Buildroot] [PATCH next] iproute2: drop obsolete patch Baruch Siach
2017-05-23 13:38 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox