summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libnl/libnl
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-07-30 10:19:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-02 09:26:16 +0100
commit3c61104c29a1d6ea39d40d1472629fbac50d7108 (patch)
tree24d0580d13a41d63716b9fae2bd71eeec9ebad5c /meta/recipes-support/libnl/libnl
parentd468e24ad48e56348b0de45028121ba36c1b3342 (diff)
downloadpoky-3c61104c29a1d6ea39d40d1472629fbac50d7108.tar.gz
libnl: Upgrade to 3.2.25
Remove one patch and rebase another (From OE-Core rev: 9f807f9e242d3380012cb55ad89f24bf4f2e8b83) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libnl/libnl')
-rw-r--r--meta/recipes-support/libnl/libnl/fix-lib-cache_mngr.c-two-parentheses-bugs.patch37
-rw-r--r--meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch14
2 files changed, 7 insertions, 44 deletions
diff --git a/meta/recipes-support/libnl/libnl/fix-lib-cache_mngr.c-two-parentheses-bugs.patch b/meta/recipes-support/libnl/libnl/fix-lib-cache_mngr.c-two-parentheses-bugs.patch
deleted file mode 100644
index 22b0d88428..0000000000
--- a/meta/recipes-support/libnl/libnl/fix-lib-cache_mngr.c-two-parentheses-bugs.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From 82fdf49c185fd5f3810781af9ef52aa6a52bf2df Mon Sep 17 00:00:00 2001
2From: "Song.Li" <Song.Li@windriver.com>
3Date: Thu, 28 Jun 2012 20:03:17 +0800
4Subject: [PATCH] fix lib/cache_mngr.c two parentheses bugs
5
6there are two parentheses bugs in libnl /lib/cache_mngr.c file.
7The parentheses doesn't make any sense,
8This will cause the variable err get a bool value,
9the correct value of variable err should be the return value
10of the function which can be any integer value.
11
12---
13 lib/cache_mngr.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16Upstream-Status: Pending
17
18diff --git a/lib/cache_mngr.c b/lib/cache_mngr.c
19index dae8768..57cc1f9 100644
20--- a/lib/cache_mngr.c
21+++ b/lib/cache_mngr.c
22@@ -150,10 +150,10 @@ int nl_cache_mngr_alloc(struct nl_sock *sk, int protocol, int flags,
23 /* Required to receive async event notifications */
24 nl_socket_disable_seq_check(mngr->cm_sock);
25
26- if ((err = nl_connect(mngr->cm_sock, protocol) < 0))
27+ if ((err = nl_connect(mngr->cm_sock, protocol)) < 0)
28 goto errout;
29
30- if ((err = nl_socket_set_nonblocking(mngr->cm_sock) < 0))
31+ if ((err = nl_socket_set_nonblocking(mngr->cm_sock)) < 0)
32 goto errout;
33
34 NL_DBG(1, "Allocated cache manager %p, protocol %d, %d caches\n",
35--
361.7.9.5
37
diff --git a/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch b/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch
index b93d97b1b7..79aa0bdf11 100644
--- a/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch
+++ b/meta/recipes-support/libnl/libnl/fix-pktloc_syntax_h-race.patch
@@ -6,24 +6,24 @@ newer version so we can assume this issue is fixed upstream
6 6
7Signed-off-by: Martin Jansa <martin.jansa@gmail.com> 7Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
8 8
9Index: libnl-3.2.14/lib/Makefile.am 9Index: libnl-3.2.25/lib/Makefile.am
10=================================================================== 10===================================================================
11--- libnl-3.2.14.orig/lib/Makefile.am 11--- libnl-3.2.25.orig/lib/Makefile.am
12+++ libnl-3.2.14/lib/Makefile.am 12+++ libnl-3.2.25/lib/Makefile.am
13@@ -39,9 +39,12 @@ CLEANFILES = \ 13@@ -46,9 +46,12 @@ CLEANFILES = \
14 14
15 # Hack to avoid using ylwrap. It does not function correctly in combination 15 # Hack to avoid using ylwrap. It does not function correctly in combination
16 # with --header-file= 16 # with --header-file=
17+route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h 17+route/pktloc.lo: route/pktloc_syntax.h route/pktloc_grammar.h
18+route/pktloc_grammar.h: route/pktloc_grammar.c 18+route/pktloc_grammar.h: route/pktloc_grammar.c
19 route/pktloc_grammar.c: route/pktloc_grammar.l 19 route/pktloc_grammar.c: route/pktloc_grammar.l
20 $(AM_V_GEN) $(FLEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^ 20 $(AM_V_GEN) $(MKDIR_P) route; $(FLEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
21 21
22+route/pktloc_syntax.h: route/pktloc_syntax.c 22+route/pktloc_syntax.h: route/pktloc_syntax.c
23 route/pktloc_syntax.c: route/pktloc_syntax.y 23 route/pktloc_syntax.c: route/pktloc_syntax.y
24 $(AM_V_GEN) $(YACC) -d $(YFLAGS) -o $@ $^ 24 $(AM_V_GEN) $(MKDIR_P) route; $(YACC) -d $(YFLAGS) -o $@ $^
25 25
26@@ -89,7 +92,9 @@ BUILT_SOURCES = \ 26@@ -102,7 +105,9 @@ BUILT_SOURCES = \
27 route/cls/ematch_grammar.c \ 27 route/cls/ematch_grammar.c \
28 route/cls/ematch_syntax.c \ 28 route/cls/ematch_syntax.c \
29 route/pktloc_grammar.c \ 29 route/pktloc_grammar.c \