forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
networkmanager: upgrade 1.28.0 -> 1.30.2
Upgrade to release 1.30.2: - 0004-fix_reallocarray_check.patch removed because the current version of nm already includes boths malloc.h and stdlib.h - musl/0002-Fix-build-with-musl.patch removed because the commit c50da167bc of nm solves the build issue with musl - musl/0001-Fix-build-with-musl-systemd-specific.patch modified to avoid conflicts when applied to current version of nm - musl/0003-Fix-build-with-musl-systemd-specific.patch renamed to musl/0002-Fix-build-with-musl-systemd-specific.patch and modified to avoid conflicts when applied to current version of nm Signed-off-by: Vinicius Aquino <[email protected]> Signed-off-by: Otavio Salvador <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
Showing
7 changed files
with
59 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,29 @@ | ||
From 9eab96351a726e9ce6a15d158f743e35d73a8900 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com> | ||
Date: Sat, 16 Jan 2021 14:27:38 +0100 | ||
From d0dead0478a070b96f37bd3b310443eaa8c93a25 Mon Sep 17 00:00:00 2001 | ||
From: Vinicius Aquino <voa.aquino@gmail.com> | ||
Date: Thu, 1 Apr 2021 14:13:07 -0300 | ||
Subject: [PATCH] Do not create settings settings/property documentation | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
It was tried to get this work by adding python3-pygobject-native to DEPENDS but | ||
compile could not find (configure passed) python module gi. | ||
compile could not find (configure passed) python module gi. | ||
Anyway it is not necessary for us to have the settings/property docs. | ||
|
||
Upstream-Status: Inappropriate [OE specific] | ||
|
||
Signed-off-by: Andreas Müller <[email protected]> | ||
|
||
Signed-off-by: Vinicius Aquino <[email protected]> | ||
--- | ||
Makefile.am | 13 ------------- | ||
configure.ac | 5 ----- | ||
2 files changed, 18 deletions(-) | ||
Makefile.am | 4 ---- | ||
configure.ac | 5 ----- | ||
2 files changed, 9 deletions(-) | ||
|
||
diff --git a/Makefile.am b/Makefile.am | ||
index 110957a..b4cfbcc 100644 | ||
index 9279672c1..2e52acbb2 100644 | ||
--- a/Makefile.am | ||
+++ b/Makefile.am | ||
@@ -1587,14 +1587,10 @@ libnm/libnm.typelib: libnm/libnm.gir | ||
@@ -1686,14 +1686,10 @@ libnm/libnm.typelib: libnm/libnm.gir | ||
INTROSPECTION_GIRS += libnm/NM-1.0.gir | ||
|
||
libnm_noinst_data = \ | ||
|
@@ -43,30 +38,11 @@ index 110957a..b4cfbcc 100644 | |
$(NULL) | ||
|
||
noinst_DATA += $(libnm_noinst_data) | ||
@@ -4448,18 +4444,9 @@ $(clients_common_libnmc_base_la_OBJECTS): $(libnm_lib_h_pub_mkenums) | ||
$(clients_common_libnmc_base_la_OBJECTS): clients/common/.dirstamp | ||
|
||
clients_common_settings_doc_h = clients/common/settings-docs.h | ||
-if HAVE_INTROSPECTION | ||
-$(clients_common_settings_doc_h): clients/common/settings-docs.xsl libnm/nm-settings-docs-gir.xml clients/common/.dirstamp | ||
- $(AM_V_GEN) $(XSLTPROC) --output $@ $< $(word 2,$^) | ||
-DISTCLEANFILES += $(clients_common_settings_doc_h) | ||
-check-local-settings-docs: $(clients_common_settings_doc_h) | ||
- $(srcdir)/tools/check-settings-docs.sh "$(srcdir)" "$(builddir)" "$(clients_common_settings_doc_h)" | ||
-check_local += check-local-settings-docs | ||
-else | ||
$(clients_common_settings_doc_h): $(clients_common_settings_doc_h).in clients/common/.dirstamp | ||
$(AM_V_GEN) cp "$(srcdir)/$(clients_common_settings_doc_h).in" "$(builddir)/$(clients_common_settings_doc_h)" | ||
check-local-settings-docs: | ||
-endif | ||
EXTRA_DIST += \ | ||
$(clients_common_settings_doc_h) \ | ||
$(clients_common_settings_doc_h).in | ||
diff --git a/configure.ac b/configure.ac | ||
index 704b1c1..18bba87 100644 | ||
index 784ac4695..681e6cb32 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -1228,11 +1228,6 @@ GTK_DOC_CHECK(1.0) | ||
@@ -1241,11 +1241,6 @@ GTK_DOC_CHECK(1.0) | ||
# check if we can build setting property documentation | ||
build_docs=no | ||
if test -n "$INTROSPECTION_MAKEFILE"; then | ||
|
@@ -79,5 +55,5 @@ index 704b1c1..18bba87 100644 | |
if test -z "$PERL"; then | ||
AC_MSG_ERROR([--enable-introspection requires perl]) | ||
-- | ||
2.26.2 | ||
2.20.1 | ||
|
27 changes: 0 additions & 27 deletions
27
...king/recipes-connectivity/networkmanager/networkmanager/0004-fix_reallocarray_check.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
From 9597122867c22e949ef3b69c779e0facebce6eb5 Mon Sep 17 00:00:00 2001 | ||
From 44884c7e7655b889f41cb02ffc8ab72a29b52ebf Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> | ||
Date: Tue, 2 Apr 2019 01:34:35 +0200 | ||
Subject: [PATCH] Fix build with musl - systemd specific | ||
Subject: [PATCH 1/2] Fix build with musl - systemd specific | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
||
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> | ||
MIME-Version: 1.0 | ||
Content-Type: text/plain; charset=UTF-8 | ||
Content-Transfer-Encoding: 8bit | ||
|
@@ -17,18 +16,18 @@ for musl. | |
Upstream-Status: Pending | ||
|
||
Signed-off-by: Andreas Müller <[email protected]> | ||
|
||
Signed-off-by: Vinicius Aquino <[email protected]> | ||
--- | ||
shared/systemd/src/basic/in-addr-util.c | 1 + | ||
shared/systemd/src/basic/process-util.c | 9 +++++++++ | ||
shared/systemd/src/basic/socket-util.h | 6 ++++++ | ||
shared/systemd/src/basic/sort-util.h | 27 ++++--------------------- | ||
shared/systemd/src/basic/sort-util.h | 13 ++++--------- | ||
shared/systemd/src/basic/stdio-util.h | 2 ++ | ||
shared/systemd/src/basic/string-util.h | 5 +++++ | ||
6 files changed, 27 insertions(+), 23 deletions(-) | ||
6 files changed, 27 insertions(+), 9 deletions(-) | ||
|
||
diff --git a/shared/systemd/src/basic/in-addr-util.c b/shared/systemd/src/basic/in-addr-util.c | ||
index 1ea3e7f..1204393 100644 | ||
index c315dcbb8..5b7e04eb7 100644 | ||
--- a/shared/systemd/src/basic/in-addr-util.c | ||
+++ b/shared/systemd/src/basic/in-addr-util.c | ||
@@ -15,6 +15,7 @@ | ||
|
@@ -40,7 +39,7 @@ index 1ea3e7f..1204393 100644 | |
#include "string-util.h" | ||
#include "strxcpyx.h" | ||
diff --git a/shared/systemd/src/basic/process-util.c b/shared/systemd/src/basic/process-util.c | ||
index 03ca04e..be8bca8 100644 | ||
index 0e25b0200..ea2c0fbb4 100644 | ||
--- a/shared/systemd/src/basic/process-util.c | ||
+++ b/shared/systemd/src/basic/process-util.c | ||
@@ -17,6 +17,9 @@ | ||
|
@@ -80,7 +79,7 @@ index 03ca04e..be8bca8 100644 | |
cached_pid = CACHED_PID_UNSET; | ||
return new_pid; | ||
diff --git a/shared/systemd/src/basic/socket-util.h b/shared/systemd/src/basic/socket-util.h | ||
index 1ece911..290e94c 100644 | ||
index 1de069476..f6834fbd2 100644 | ||
--- a/shared/systemd/src/basic/socket-util.h | ||
+++ b/shared/systemd/src/basic/socket-util.h | ||
@@ -14,6 +14,12 @@ | ||
|
@@ -94,10 +93,10 @@ index 1ece911..290e94c 100644 | |
+#endif | ||
+ | ||
#include "macro.h" | ||
#include "missing_network.h" | ||
#include "missing_socket.h" | ||
#include "sparse-endian.h" | ||
diff --git a/shared/systemd/src/basic/sort-util.h b/shared/systemd/src/basic/sort-util.h | ||
index a8dc3bb..ff0aa88 100644 | ||
index a8984fc16..5fb90f8c5 100644 | ||
--- a/shared/systemd/src/basic/sort-util.h | ||
+++ b/shared/systemd/src/basic/sort-util.h | ||
@@ -5,15 +5,10 @@ | ||
|
@@ -120,40 +119,22 @@ index a8dc3bb..ff0aa88 100644 | |
|
||
/** | ||
* Normal bsearch requires base to be nonnull. Here were require | ||
@@ -54,17 +49,3 @@ static inline void _qsort_safe(void *base, size_t nmemb, size_t size, __compar_f | ||
int (*_func_)(const typeof(p[0])*, const typeof(p[0])*) = func; \ | ||
_qsort_safe((p), (n), sizeof((p)[0]), (__compar_fn_t) _func_); \ | ||
}) | ||
- | ||
-static inline void qsort_r_safe(void *base, size_t nmemb, size_t size, __compar_d_fn_t compar, void *userdata) { | ||
- if (nmemb <= 1) | ||
- return; | ||
- | ||
- assert(base); | ||
- qsort_r(base, nmemb, size, compar, userdata); | ||
-} | ||
- | ||
-#define typesafe_qsort_r(p, n, func, userdata) \ | ||
- ({ \ | ||
- int (*_func_)(const typeof(p[0])*, const typeof(p[0])*, typeof(userdata)) = func; \ | ||
- qsort_r_safe((p), (n), sizeof((p)[0]), (__compar_d_fn_t) _func_, userdata); \ | ||
- }) | ||
diff --git a/shared/systemd/src/basic/stdio-util.h b/shared/systemd/src/basic/stdio-util.h | ||
index c3b9448..e80a938 100644 | ||
index d45d3c1a6..fee1a57ca 100644 | ||
--- a/shared/systemd/src/basic/stdio-util.h | ||
+++ b/shared/systemd/src/basic/stdio-util.h | ||
@@ -1,7 +1,9 @@ | ||
/* SPDX-License-Identifier: LGPL-2.1+ */ | ||
@@ -2,7 +2,9 @@ | ||
#pragma once | ||
|
||
#if 0 /* NM_IGNORED */ | ||
+#if defined(__GLIBC__) | ||
#include <printf.h> | ||
+#endif | ||
#endif /* NM_IGNORED */ | ||
#include <stdarg.h> | ||
#include <stdio.h> | ||
#include <sys/types.h> | ||
diff --git a/shared/systemd/src/basic/string-util.h b/shared/systemd/src/basic/string-util.h | ||
index cefbda3..71e4dec 100644 | ||
index 593cf04ae..541c393f6 100644 | ||
--- a/shared/systemd/src/basic/string-util.h | ||
+++ b/shared/systemd/src/basic/string-util.h | ||
@@ -26,6 +26,11 @@ | ||
|
@@ -168,3 +149,6 @@ index cefbda3..71e4dec 100644 | |
int strcmp_ptr(const char *a, const char *b) _pure_; | ||
int strcasecmp_ptr(const char *a, const char *b) _pure_; | ||
|
||
-- | ||
2.20.1 | ||
|
26 changes: 26 additions & 0 deletions
26
...tivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl-systemd-specific.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
From 7d9a11a17da425d106791ada7100d7a6559e6065 Mon Sep 17 00:00:00 2001 | ||
From: Adrian Freihofer <[email protected]> | ||
Date: Sat, 7 Mar 2020 14:24:01 +0100 | ||
Subject: [PATCH 2/2] Fix build with musl - systemd specific | ||
|
||
--- | ||
src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c b/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c | ||
index 3fafd3c0e..79d6096c2 100644 | ||
--- a/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c | ||
+++ b/src/core/systemd/src/libsystemd-network/sd-dhcp6-client.c | ||
@@ -8,7 +8,9 @@ | ||
#include <errno.h> | ||
#include <sys/ioctl.h> | ||
#if 0 /* NM_IGNORED */ | ||
+#ifdef __GLIBC__ /* musl supplies full set of userspace headers */ | ||
#include <linux/if_arp.h> | ||
+#endif | ||
#else /* NM_IGNORED */ | ||
#include <net/if_arp.h> | ||
#endif /* NM_IGNORED */ | ||
-- | ||
2.20.1 | ||
|
121 changes: 0 additions & 121 deletions
121
...ng/recipes-connectivity/networkmanager/networkmanager/musl/0002-Fix-build-with-musl.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.