summaryrefslogtreecommitdiffstats
path: root/package/iproute2
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2017-05-23 00:25:44 +0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-23 15:37:51 +0200
commit1e0a7254790329e08934ec0642d3e576fd904107 (patch)
tree2fab0ab3246d02f3099ed9e322cdc62515800ead /package/iproute2
parentd2c9c7cdf563f7b776f498f539b7392e10372391 (diff)
downloadbuildroot-1e0a7254790329e08934ec0642d3e576fd904107.tar.gz
buildroot-1e0a7254790329e08934ec0642d3e576fd904107.zip
iproute2: drop obsolete patch
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/iproute2')
-rw-r--r--package/iproute2/0002-Add-missing-sys-types.h-include.patch38
-rw-r--r--package/iproute2/0002-ip-include-libc-headers-first.patch (renamed from package/iproute2/0003-ip-include-libc-headers-first.patch)0
2 files changed, 0 insertions, 38 deletions
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 ef918140da..0000000000
--- 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
index b842142443..b842142443 100644
--- a/package/iproute2/0003-ip-include-libc-headers-first.patch
+++ b/package/iproute2/0002-ip-include-libc-headers-first.patch
OpenPOWER on IntegriCloud