diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2013-05-08 13:25:03 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-12 09:37:30 +0100 |
commit | 2e5617a56125bc33c644bd713272d35031c8b1ce (patch) | |
tree | 01e080de0be9d2f93b07a96aee6a7c8b1a5eb3cf /meta/recipes-connectivity/iproute2/iproute2/0001-Fix-compilation-error-of-m_ipt.c-with-Werror-enabled.patch | |
parent | c11ce6d9ec2fbd5e6f1efd7ec58283a31311fc23 (diff) | |
download | poky-2e5617a56125bc33c644bd713272d35031c8b1ce.tar.gz |
iproute2: upgrade to 3.9.0
patches removed; already included in upstream.
(From OE-Core rev: 9a8a765c2ccbae29ecabe00f358b6bbb1c9b3b98)
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/iproute2/iproute2/0001-Fix-compilation-error-of-m_ipt.c-with-Werror-enabled.patch')
-rw-r--r-- | meta/recipes-connectivity/iproute2/iproute2/0001-Fix-compilation-error-of-m_ipt.c-with-Werror-enabled.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2/0001-Fix-compilation-error-of-m_ipt.c-with-Werror-enabled.patch b/meta/recipes-connectivity/iproute2/iproute2/0001-Fix-compilation-error-of-m_ipt.c-with-Werror-enabled.patch deleted file mode 100644 index db74963e48..0000000000 --- a/meta/recipes-connectivity/iproute2/iproute2/0001-Fix-compilation-error-of-m_ipt.c-with-Werror-enabled.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | From 9235195666af7d887771cf557ef2bd3f00b9ecc8 Mon Sep 17 00:00:00 2001 | ||
4 | From: Vijay Subramanian <subramanian.vijay@gmail.com> | ||
5 | Date: Tue, 26 Feb 2013 09:12:07 +0000 | ||
6 | Subject: [PATCH] Fix compilation error of m_ipt.c with -Werror enabled | ||
7 | |||
8 | Commit (5a650703d47e10aa386406c855eff5a593b2120b Makefile: make warnings into | ||
9 | errors ) causes the following build error. | ||
10 | |||
11 | gcc -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes | ||
12 | -Wmissing-declarations -Wold-style-definition -O2 -I../include | ||
13 | -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" | ||
14 | -D_GNU_SOURCE -DCONFIG_GACT -DCONFIG_GACT_PROB -DIPT_LIB_DIR=\"/lib/xtables\" | ||
15 | -DYY_NO_INPUT -c -o m_ipt.o m_ipt.c | ||
16 | cc1: warnings being treated as errors | ||
17 | m_ipt.c:72: error: no previous prototype for 'xtables_register_target' | ||
18 | m_ipt.c:361: error: no previous prototype for 'build_st' | ||
19 | make[1]: *** [m_ipt.o] Error 1 | ||
20 | |||
21 | This is fixed by adding the prototype in the header include/iptables.h | ||
22 | |||
23 | I am not sure if this is due to something wrong on my build system but I am | ||
24 | using current glibc 2.17. | ||
25 | |||
26 | Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com> | ||
27 | --- | ||
28 | include/iptables.h | 2 ++ | ||
29 | 1 file changed, 2 insertions(+) | ||
30 | |||
31 | diff --git a/include/iptables.h b/include/iptables.h | ||
32 | index dd844c1..f1e62e2 100644 | ||
33 | --- a/include/iptables.h | ||
34 | +++ b/include/iptables.h | ||
35 | @@ -143,6 +143,8 @@ extern int line; | ||
36 | /* Your shared library should call one of these. */ | ||
37 | extern void register_match(struct iptables_match *me); | ||
38 | extern void register_target(struct iptables_target *me); | ||
39 | +extern void xtables_register_target(struct iptables_target *me); | ||
40 | +extern int build_st(struct iptables_target *target, struct ipt_entry_target *t); | ||
41 | |||
42 | extern struct in_addr *dotted_to_addr(const char *dotted); | ||
43 | extern char *addr_to_dotted(const struct in_addr *addrp); | ||
44 | -- | ||
45 | 1.7.9.5 | ||
46 | |||