diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2019-05-28 19:40:48 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2019-05-29 02:21:42 -0700 |
| commit | 061953143db837f637d41e7902978a4afe211ed7 (patch) | |
| tree | a4747c857d15cee2235beb4122eb097e1ab86fd9 | |
| parent | 656ef4220513d4f75f19236eeda9a62e857fe589 (diff) | |
| download | meta-openembedded-061953143db837f637d41e7902978a4afe211ed7.tar.gz | |
networkmanager: Update to 1.18.0
One patch was dropped (0003-dlopen-failure.patch) as a similar one was
merged upstream. See:
https://github.com/NetworkManager/NetworkManager/commit/bd4957fcd78a0e64d26459e94ab3b84c91cd6f5f
Refreshed musl patches as well.
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager/0003-dlopen-failure.patch | 34 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Fix-build-with-musl-systemd-specific.patch | 128 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl.patch | 20 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb (renamed from meta-networking/recipes-connectivity/networkmanager/networkmanager_1.16.0.bb) | 6 |
4 files changed, 70 insertions, 118 deletions
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0003-dlopen-failure.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/0003-dlopen-failure.patch deleted file mode 100644 index e99c22710c..0000000000 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/0003-dlopen-failure.patch +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | From 57239fda56b68a8f3e413f7b6af5290ba0d86636 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
| 3 | Date: Thu, 22 Mar 2018 18:18:06 +0100 | ||
| 4 | Subject: [PATCH] musl: dlopen is included so LD_LIBS="" instead of | ||
| 5 | LD_LIBS="none required" | ||
| 6 | MIME-Version: 1.0 | ||
| 7 | Content-Type: text/plain; charset=UTF-8 | ||
| 8 | Content-Transfer-Encoding: 8bit | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Stolen from [1] and prettyfied slightly | ||
| 13 | |||
| 14 | [1] https://github.com/voidlinux/void-packages/tree/master/srcpkgs/NetworkManager/patches | ||
| 15 | |||
| 16 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | ||
| 17 | --- | ||
| 18 | configure.ac | 1 + | ||
| 19 | 1 file changed, 1 insertion(+) | ||
| 20 | |||
| 21 | diff --git a/configure.ac b/configure.ac | ||
| 22 | index 487a266..96ae4f7 100644 | ||
| 23 | --- a/configure.ac | ||
| 24 | +++ b/configure.ac | ||
| 25 | @@ -235,6 +235,7 @@ dnl | ||
| 26 | dnl Checks for libdl - on certain platforms its part of libc | ||
| 27 | dnl | ||
| 28 | AC_SEARCH_LIBS([dlopen], [dl dld], [], [ac_cv_search_dlopen=]) | ||
| 29 | +AS_IF([test "$ac_cv_search_dlopen" = "none required"],[ac_cv_search_dlopen=""]) | ||
| 30 | AC_SUBST([DL_LIBS], "$ac_cv_search_dlopen") | ||
| 31 | |||
| 32 | PKG_CHECK_MODULES(GLIB, [gio-unix-2.0 >= 2.37.6 gmodule-2.0], | ||
| 33 | -- | ||
| 34 | 2.14.3 | ||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Fix-build-with-musl-systemd-specific.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Fix-build-with-musl-systemd-specific.patch index accd2f2569..af6f938ced 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Fix-build-with-musl-systemd-specific.patch +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0001-Fix-build-with-musl-systemd-specific.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 7b09945585e6ce65049fa4039f26caee8daa44b9 Mon Sep 17 00:00:00 2001 | 1 | From a89c2e6d40606f563467a83fb98933e990e71377 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Tue, 2 Apr 2019 01:34:35 +0200 | 3 | Date: Tue, 2 Apr 2019 01:34:35 +0200 |
| 4 | Subject: [PATCH 1/2] Fix build with musl - systemd specific | 4 | Subject: [PATCH] Fix build with musl - systemd specific |
| 5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
| @@ -14,27 +14,27 @@ Upstream-Status: Pending | |||
| 14 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> | 14 | Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> |
| 15 | --- | 15 | --- |
| 16 | shared/systemd/src/basic/in-addr-util.c | 1 + | 16 | shared/systemd/src/basic/in-addr-util.c | 1 + |
| 17 | shared/systemd/src/basic/process-util.c | 9 ++++++++ | 17 | shared/systemd/src/basic/process-util.c | 9 +++++++++ |
| 18 | shared/systemd/src/basic/socket-util.h | 6 +++++ | 18 | shared/systemd/src/basic/socket-util.h | 6 ++++++ |
| 19 | shared/systemd/src/basic/sort-util.h | 27 ++++--------------------- | ||
| 19 | shared/systemd/src/basic/stdio-util.h | 2 ++ | 20 | shared/systemd/src/basic/stdio-util.h | 2 ++ |
| 20 | shared/systemd/src/basic/string-util.h | 5 +++++ | 21 | shared/systemd/src/basic/string-util.h | 5 +++++ |
| 21 | shared/systemd/src/basic/util.h | 29 +++++-------------------- | 22 | 6 files changed, 27 insertions(+), 23 deletions(-) |
| 22 | 6 files changed, 28 insertions(+), 24 deletions(-) | ||
| 23 | 23 | ||
| 24 | diff --git a/shared/systemd/src/basic/in-addr-util.c b/shared/systemd/src/basic/in-addr-util.c | 24 | diff --git a/shared/systemd/src/basic/in-addr-util.c b/shared/systemd/src/basic/in-addr-util.c |
| 25 | index 5ced350..c6b52b8 100644 | 25 | index 5899f62..0adb248 100644 |
| 26 | --- a/shared/systemd/src/basic/in-addr-util.c | 26 | --- a/shared/systemd/src/basic/in-addr-util.c |
| 27 | +++ b/shared/systemd/src/basic/in-addr-util.c | 27 | +++ b/shared/systemd/src/basic/in-addr-util.c |
| 28 | @@ -13,6 +13,7 @@ | 28 | @@ -14,6 +14,7 @@ |
| 29 | #include "in-addr-util.h" | 29 | #include "in-addr-util.h" |
| 30 | #include "macro.h" | 30 | #include "macro.h" |
| 31 | #include "parse-util.h" | 31 | #include "parse-util.h" |
| 32 | +#include "string-util.h" | 32 | +#include "string-util.h" |
| 33 | #include "random-util.h" | ||
| 34 | #include "strxcpyx.h" | ||
| 33 | #include "util.h" | 35 | #include "util.h" |
| 34 | |||
| 35 | bool in4_addr_is_null(const struct in_addr *a) { | ||
| 36 | diff --git a/shared/systemd/src/basic/process-util.c b/shared/systemd/src/basic/process-util.c | 36 | diff --git a/shared/systemd/src/basic/process-util.c b/shared/systemd/src/basic/process-util.c |
| 37 | index b0afb5c..7adc8bd 100644 | 37 | index 7431be3..189060a 100644 |
| 38 | --- a/shared/systemd/src/basic/process-util.c | 38 | --- a/shared/systemd/src/basic/process-util.c |
| 39 | +++ b/shared/systemd/src/basic/process-util.c | 39 | +++ b/shared/systemd/src/basic/process-util.c |
| 40 | @@ -21,6 +21,9 @@ | 40 | @@ -21,6 +21,9 @@ |
| @@ -47,7 +47,7 @@ index b0afb5c..7adc8bd 100644 | |||
| 47 | #if 0 /* NM_IGNORED */ | 47 | #if 0 /* NM_IGNORED */ |
| 48 | #if HAVE_VALGRIND_VALGRIND_H | 48 | #if HAVE_VALGRIND_VALGRIND_H |
| 49 | #include <valgrind/valgrind.h> | 49 | #include <valgrind/valgrind.h> |
| 50 | @@ -1168,11 +1171,13 @@ void reset_cached_pid(void) { | 50 | @@ -1183,11 +1186,13 @@ void reset_cached_pid(void) { |
| 51 | cached_pid = CACHED_PID_UNSET; | 51 | cached_pid = CACHED_PID_UNSET; |
| 52 | } | 52 | } |
| 53 | 53 | ||
| @@ -61,7 +61,7 @@ index b0afb5c..7adc8bd 100644 | |||
| 61 | 61 | ||
| 62 | pid_t getpid_cached(void) { | 62 | pid_t getpid_cached(void) { |
| 63 | static bool installed = false; | 63 | static bool installed = false; |
| 64 | @@ -1201,7 +1206,11 @@ pid_t getpid_cached(void) { | 64 | @@ -1216,7 +1221,11 @@ pid_t getpid_cached(void) { |
| 65 | * only half-documented (glibc doesn't document it but LSB does — though only superficially) | 65 | * only half-documented (glibc doesn't document it but LSB does — though only superficially) |
| 66 | * we'll check for errors only in the most generic fashion possible. */ | 66 | * we'll check for errors only in the most generic fashion possible. */ |
| 67 | 67 | ||
| @@ -74,7 +74,7 @@ index b0afb5c..7adc8bd 100644 | |||
| 74 | cached_pid = CACHED_PID_UNSET; | 74 | cached_pid = CACHED_PID_UNSET; |
| 75 | return new_pid; | 75 | return new_pid; |
| 76 | diff --git a/shared/systemd/src/basic/socket-util.h b/shared/systemd/src/basic/socket-util.h | 76 | diff --git a/shared/systemd/src/basic/socket-util.h b/shared/systemd/src/basic/socket-util.h |
| 77 | index d2246a8..76f257f 100644 | 77 | index 15443f1..4807198 100644 |
| 78 | --- a/shared/systemd/src/basic/socket-util.h | 78 | --- a/shared/systemd/src/basic/socket-util.h |
| 79 | +++ b/shared/systemd/src/basic/socket-util.h | 79 | +++ b/shared/systemd/src/basic/socket-util.h |
| 80 | @@ -13,6 +13,12 @@ | 80 | @@ -13,6 +13,12 @@ |
| @@ -90,55 +90,13 @@ index d2246a8..76f257f 100644 | |||
| 90 | #include "macro.h" | 90 | #include "macro.h" |
| 91 | #include "missing_socket.h" | 91 | #include "missing_socket.h" |
| 92 | #include "sparse-endian.h" | 92 | #include "sparse-endian.h" |
| 93 | diff --git a/shared/systemd/src/basic/stdio-util.h b/shared/systemd/src/basic/stdio-util.h | 93 | diff --git a/shared/systemd/src/basic/sort-util.h b/shared/systemd/src/basic/sort-util.h |
| 94 | index dc67b6e..6336243 100644 | 94 | index e029f86..1e8b6e1 100644 |
| 95 | --- a/shared/systemd/src/basic/stdio-util.h | 95 | --- a/shared/systemd/src/basic/sort-util.h |
| 96 | +++ b/shared/systemd/src/basic/stdio-util.h | 96 | +++ b/shared/systemd/src/basic/sort-util.h |
| 97 | @@ -1,7 +1,9 @@ | 97 | @@ -5,15 +5,10 @@ |
| 98 | /* SPDX-License-Identifier: LGPL-2.1+ */ | ||
| 99 | #pragma once | ||
| 100 | 98 | ||
| 101 | +#if defined(__GLIBC__) | ||
| 102 | #include <printf.h> | ||
| 103 | +#endif | ||
| 104 | #include <stdarg.h> | ||
| 105 | #include <stdio.h> | ||
| 106 | #include <sys/types.h> | ||
| 107 | diff --git a/shared/systemd/src/basic/string-util.h b/shared/systemd/src/basic/string-util.h | ||
| 108 | index 38070ab..6b918e0 100644 | ||
| 109 | --- a/shared/systemd/src/basic/string-util.h | ||
| 110 | +++ b/shared/systemd/src/basic/string-util.h | ||
| 111 | @@ -27,6 +27,11 @@ | ||
| 112 | #define strcaseeq(a,b) (strcasecmp((a),(b)) == 0) | ||
| 113 | #define strncaseeq(a, b, n) (strncasecmp((a), (b), (n)) == 0) | ||
| 114 | |||
| 115 | +/* musl does not know strndupa */ | ||
| 116 | +#if !defined(__GLIBC__) | ||
| 117 | +#define strndupa(x,s) strncpy(alloca(strlen(x)+1),x,s) | ||
| 118 | +#endif | ||
| 119 | + | ||
| 120 | int strcmp_ptr(const char *a, const char *b) _pure_; | ||
| 121 | |||
| 122 | static inline bool streq_ptr(const char *a, const char *b) { | ||
| 123 | diff --git a/shared/systemd/src/basic/util.h b/shared/systemd/src/basic/util.h | ||
| 124 | index dc33d66..cc768e9 100644 | ||
| 125 | --- a/shared/systemd/src/basic/util.h | ||
| 126 | +++ b/shared/systemd/src/basic/util.h | ||
| 127 | @@ -27,6 +27,11 @@ | ||
| 128 | #include "macro.h" | 99 | #include "macro.h" |
| 129 | #include "time-util.h" | ||
| 130 | |||
| 131 | +#if !defined(__GLIBC__) | ||
| 132 | +typedef int (*__compar_fn_t) (const void*, const void*); | ||
| 133 | +typedef __compar_fn_t comparison_fn_t; | ||
| 134 | +#endif | ||
| 135 | + | ||
| 136 | size_t page_size(void) _pure_; | ||
| 137 | #define PAGE_ALIGN(l) ALIGN_TO((l), page_size()) | ||
| 138 | |||
| 139 | @@ -66,16 +71,6 @@ int prot_from_flags(int flags) _const_; | ||
| 140 | bool in_initrd(void); | ||
| 141 | void in_initrd_force(bool value); | ||
| 142 | 100 | ||
| 143 | -void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, | 101 | -void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, |
| 144 | - __compar_d_fn_t compar, void *arg); | 102 | - __compar_d_fn_t compar, void *arg); |
| @@ -149,14 +107,18 @@ index dc33d66..cc768e9 100644 | |||
| 149 | - int (*_func_)(const typeof(b[0])*, const typeof(b[0])*, typeof(userdata)) = func; \ | 107 | - int (*_func_)(const typeof(b[0])*, const typeof(b[0])*, typeof(userdata)) = func; \ |
| 150 | - xbsearch_r((const void*) _k, (b), (n), sizeof((b)[0]), (__compar_d_fn_t) _func_, userdata); \ | 108 | - xbsearch_r((const void*) _k, (b), (n), sizeof((b)[0]), (__compar_d_fn_t) _func_, userdata); \ |
| 151 | - }) | 109 | - }) |
| 152 | - | 110 | +#if !defined(__GLIBC__) |
| 111 | +typedef int (*__compar_fn_t) (const void*, const void*); | ||
| 112 | +typedef __compar_fn_t comparison_fn_t; | ||
| 113 | +#endif | ||
| 114 | |||
| 153 | /** | 115 | /** |
| 154 | * Normal bsearch requires base to be nonnull. Here were require | 116 | * Normal bsearch requires base to be nonnull. Here were require |
| 155 | * that only if nmemb > 0. | 117 | @@ -54,17 +49,3 @@ static inline void qsort_safe(void *base, size_t nmemb, size_t size, __compar_fn |
| 156 | @@ -116,20 +111,6 @@ static inline void qsort_safe(void *base, size_t nmemb, size_t size, __compar_fn | 118 | int (*_func_)(const typeof(p[0])*, const typeof(p[0])*) = func; \ |
| 157 | qsort_safe((p), (n), sizeof((p)[0]), (__compar_fn_t) _func_); \ | 119 | qsort_safe((p), (n), sizeof((p)[0]), (__compar_fn_t) _func_); \ |
| 158 | }) | 120 | }) |
| 159 | 121 | - | |
| 160 | -static inline void qsort_r_safe(void *base, size_t nmemb, size_t size, __compar_d_fn_t compar, void *userdata) { | 122 | -static inline void qsort_r_safe(void *base, size_t nmemb, size_t size, __compar_d_fn_t compar, void *userdata) { |
| 161 | - if (nmemb <= 1) | 123 | - if (nmemb <= 1) |
| 162 | - return; | 124 | - return; |
| @@ -170,10 +132,36 @@ index dc33d66..cc768e9 100644 | |||
| 170 | - int (*_func_)(const typeof(p[0])*, const typeof(p[0])*, typeof(userdata)) = func; \ | 132 | - int (*_func_)(const typeof(p[0])*, const typeof(p[0])*, typeof(userdata)) = func; \ |
| 171 | - qsort_r_safe((p), (n), sizeof((p)[0]), (__compar_d_fn_t) _func_, userdata); \ | 133 | - qsort_r_safe((p), (n), sizeof((p)[0]), (__compar_d_fn_t) _func_, userdata); \ |
| 172 | - }) | 134 | - }) |
| 173 | - | 135 | diff --git a/shared/systemd/src/basic/stdio-util.h b/shared/systemd/src/basic/stdio-util.h |
| 174 | /* Normal memcpy requires src to be nonnull. We do nothing if n is 0. */ | 136 | index c3b9448..e80a938 100644 |
| 175 | static inline void memcpy_safe(void *dst, const void *src, size_t n) { | 137 | --- a/shared/systemd/src/basic/stdio-util.h |
| 176 | if (n == 0) | 138 | +++ b/shared/systemd/src/basic/stdio-util.h |
| 139 | @@ -1,7 +1,9 @@ | ||
| 140 | /* SPDX-License-Identifier: LGPL-2.1+ */ | ||
| 141 | #pragma once | ||
| 142 | |||
| 143 | +#if defined(__GLIBC__) | ||
| 144 | #include <printf.h> | ||
| 145 | +#endif | ||
| 146 | #include <stdarg.h> | ||
| 147 | #include <stdio.h> | ||
| 148 | #include <sys/types.h> | ||
| 149 | diff --git a/shared/systemd/src/basic/string-util.h b/shared/systemd/src/basic/string-util.h | ||
| 150 | index b23f4c8..8f2f6e0 100644 | ||
| 151 | --- a/shared/systemd/src/basic/string-util.h | ||
| 152 | +++ b/shared/systemd/src/basic/string-util.h | ||
| 153 | @@ -27,6 +27,11 @@ | ||
| 154 | #define strcaseeq(a,b) (strcasecmp((a),(b)) == 0) | ||
| 155 | #define strncaseeq(a, b, n) (strncasecmp((a), (b), (n)) == 0) | ||
| 156 | |||
| 157 | +/* musl does not know strndupa */ | ||
| 158 | +#if !defined(__GLIBC__) | ||
| 159 | +#define strndupa(x,s) strncpy(alloca(strlen(x)+1),x,s) | ||
| 160 | +#endif | ||
| 161 | + | ||
| 162 | int strcmp_ptr(const char *a, const char *b) _pure_; | ||
| 163 | |||
| 164 | static inline bool streq_ptr(const char *a, const char *b) { | ||
| 177 | -- | 165 | -- |
| 178 | 2.20.1 | 166 | 2.17.1 |
| 179 | 167 | ||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl.patch b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl.patch index 25f9a4a001..e0973af1e9 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl.patch +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 0b0f2d5abe27b2c9587f449795f0ae3568fc3e38 Mon Sep 17 00:00:00 2001 | 1 | From 3d1307735667758f44378585482fe421db086af8 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> |
| 3 | Date: Mon, 8 Apr 2019 23:10:43 +0200 | 3 | Date: Mon, 8 Apr 2019 23:10:43 +0200 |
| 4 | Subject: [PATCH 2/2] Fix build with musl | 4 | Subject: [PATCH 2/2] Fix build with musl |
| @@ -23,7 +23,7 @@ The build issues caused by definition conflicts musl vs linux-libc headers | |||
| 23 | Note: | 23 | Note: |
| 24 | Be aware that this is still nasty business: We have to trust that musl headers | 24 | Be aware that this is still nasty business: We have to trust that musl headers |
| 25 | define same signatures as linux would do - just because musl-makers consider | 25 | define same signatures as linux would do - just because musl-makers consider |
| 26 | linux-libc headers 'notoriously broken for userspace' [2] (search for | 26 | linux-libc headers 'notoriously broken for userspace' [2] (search for |
| 27 | 'error: redefinition of'). | 27 | 'error: redefinition of'). |
| 28 | 28 | ||
| 29 | [1] http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280440.html | 29 | [1] http://lists.openembedded.org/pipermail/openembedded-core/2019-March/280440.html |
| @@ -53,7 +53,7 @@ index 43fbbc1..3eae286 100644 | |||
| 53 | #include "nmtui.h" | 53 | #include "nmtui.h" |
| 54 | 54 | ||
| 55 | diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h | 55 | diff --git a/libnm-core/nm-utils.h b/libnm-core/nm-utils.h |
| 56 | index 2b5baba..8a50131 100644 | 56 | index 2b5baba..f7abab6 100644 |
| 57 | --- a/libnm-core/nm-utils.h | 57 | --- a/libnm-core/nm-utils.h |
| 58 | +++ b/libnm-core/nm-utils.h | 58 | +++ b/libnm-core/nm-utils.h |
| 59 | @@ -25,6 +25,10 @@ | 59 | @@ -25,6 +25,10 @@ |
| @@ -68,7 +68,7 @@ index 2b5baba..8a50131 100644 | |||
| 68 | 68 | ||
| 69 | #include <netinet/in.h> | 69 | #include <netinet/in.h> |
| 70 | diff --git a/shared/nm-default.h b/shared/nm-default.h | 70 | diff --git a/shared/nm-default.h b/shared/nm-default.h |
| 71 | index 26d6476..b29e8af 100644 | 71 | index 54e9916..26e9f4e 100644 |
| 72 | --- a/shared/nm-default.h | 72 | --- a/shared/nm-default.h |
| 73 | +++ b/shared/nm-default.h | 73 | +++ b/shared/nm-default.h |
| 74 | @@ -211,6 +211,9 @@ | 74 | @@ -211,6 +211,9 @@ |
| @@ -82,7 +82,7 @@ index 26d6476..b29e8af 100644 | |||
| 82 | /*****************************************************************************/ | 82 | /*****************************************************************************/ |
| 83 | 83 | ||
| 84 | diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c | 84 | diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c |
| 85 | index 7514fa7..d305fa5 100644 | 85 | index bd4fbcc..f70b309 100644 |
| 86 | --- a/src/devices/nm-device.c | 86 | --- a/src/devices/nm-device.c |
| 87 | +++ b/src/devices/nm-device.c | 87 | +++ b/src/devices/nm-device.c |
| 88 | @@ -24,6 +24,7 @@ | 88 | @@ -24,6 +24,7 @@ |
| @@ -102,17 +102,17 @@ index 7514fa7..d305fa5 100644 | |||
| 102 | #include <linux/pkt_sched.h> | 102 | #include <linux/pkt_sched.h> |
| 103 | 103 | ||
| 104 | diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c | 104 | diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c |
| 105 | index 2f5c75b..d6ca6d9 100644 | 105 | index d4b0115..22a3a90 100644 |
| 106 | --- a/src/platform/nm-linux-platform.c | 106 | --- a/src/platform/nm-linux-platform.c |
| 107 | +++ b/src/platform/nm-linux-platform.c | 107 | +++ b/src/platform/nm-linux-platform.c |
| 108 | @@ -27,7 +27,6 @@ | 108 | @@ -28,7 +28,6 @@ |
| 109 | #include <fcntl.h> | ||
| 110 | #include <libudev.h> | 109 | #include <libudev.h> |
| 110 | #include <linux/fib_rules.h> | ||
| 111 | #include <linux/ip.h> | 111 | #include <linux/ip.h> |
| 112 | -#include <linux/if_arp.h> | 112 | -#include <linux/if_arp.h> |
| 113 | #include <linux/if_bridge.h> | ||
| 113 | #include <linux/if_link.h> | 114 | #include <linux/if_link.h> |
| 114 | #include <linux/if_tun.h> | 115 | #include <linux/if_tun.h> |
| 115 | #include <linux/if_tunnel.h> | ||
| 116 | -- | 116 | -- |
| 117 | 2.20.1 | 117 | 2.17.1 |
| 118 | 118 | ||
diff --git a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.16.0.bb b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb index 9f01f1bc1a..9215a86765 100644 --- a/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.16.0.bb +++ b/meta-networking/recipes-connectivity/networkmanager/networkmanager_1.18.0.bb | |||
| @@ -26,15 +26,13 @@ SRC_URI = " \ | |||
| 26 | ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \ | 26 | ${GNOME_MIRROR}/NetworkManager/${@gnome_verdir("${PV}")}/NetworkManager-${PV}.tar.xz \ |
| 27 | file://0001-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch \ | 27 | file://0001-Fixed-configure.ac-Fix-pkgconfig-sysroot-locations.patch \ |
| 28 | file://0002-Do-not-create-settings-settings-property-documentati.patch \ | 28 | file://0002-Do-not-create-settings-settings-property-documentati.patch \ |
| 29 | file://0003-dlopen-failure.patch \ | ||
| 30 | " | 29 | " |
| 31 | SRC_URI_append_libc-musl = " \ | 30 | SRC_URI_append_libc-musl = " \ |
| 32 | file://musl/0001-Fix-build-with-musl-systemd-specific.patch \ | 31 | file://musl/0001-Fix-build-with-musl-systemd-specific.patch \ |
| 33 | file://musl/0002-Fix-build-with-musl.patch \ | 32 | file://musl/0002-Fix-build-with-musl.patch \ |
| 34 | " | 33 | " |
| 35 | 34 | SRC_URI[md5sum] = "c8c27116a8083bab5d5fcca0d03e988a" | |
| 36 | SRC_URI[md5sum] = "10abacaafb162a67d2942adf03e7e9e4" | 35 | SRC_URI[sha256sum] = "c6e8df25e5a3c7309bc17664be8971689314884cdd08afdd6b0847d29d2a8ba6" |
| 37 | SRC_URI[sha256sum] = "8e962833b6ca03edda1bc57ed6614a7b8c2339531b44acef098d05f2324c5d2c" | ||
| 38 | 36 | ||
| 39 | UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/NetworkManager/1.16/" | 37 | UPSTREAM_CHECK_URI = "${GNOME_MIRROR}/NetworkManager/1.16/" |
| 40 | UPSTREAM_CHECK_REGEX = "NetworkManager\-(?P<pver>1\.10(\.\d+)+).tar.xz" | 38 | UPSTREAM_CHECK_REGEX = "NetworkManager\-(?P<pver>1\.10(\.\d+)+).tar.xz" |
