summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch11
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch16
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch25
-rw-r--r--meta-networking/recipes-connectivity/netplan/netplan_0.104.bb (renamed from meta-networking/recipes-connectivity/netplan/netplan_0.103.bb)5
4 files changed, 18 insertions, 39 deletions
diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch
index ddc44c3ca0..613858f6fd 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch
+++ b/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch
@@ -10,14 +10,17 @@ Signed-off-by: Alexander Kanavin <alex@linutronix.de>
10 1 file changed, 1 deletion(-) 10 1 file changed, 1 deletion(-)
11 11
12diff --git a/Makefile b/Makefile 12diff --git a/Makefile b/Makefile
13index 8645aee..50fc0da 100644 13index 0368e41..53d6a9d 100644
14--- a/Makefile 14--- a/Makefile
15+++ b/Makefile 15+++ b/Makefile
16@@ -7,7 +7,6 @@ BUILDFLAGS = \ 16@@ -8,7 +8,6 @@ BUILDFLAGS = \
17 -D_XOPEN_SOURCE=500 \
18 -DSBINDIR=\"$(SBINDIR)\" \ 17 -DSBINDIR=\"$(SBINDIR)\" \
18 -I${CURDIR}/include \
19 -Wall \ 19 -Wall \
20- -Werror \ 20- -Werror \
21 $(NULL) 21 $(NULL)
22 22
23 SYSTEMD_GENERATOR_DIR=$(shell pkg-config --variable=systemdsystemgeneratordir systemd) 23 SRCS = \
24--
252.25.1
26
diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch
index c7d371dfa0..8779c251a5 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch
+++ b/meta-networking/recipes-connectivity/netplan/netplan/0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch
@@ -4,18 +4,17 @@ Date: Fri, 25 Dec 2020 11:41:43 +0900
4Subject: [PATCH] don't fail if GLOB_BRACE is not defined 4Subject: [PATCH] don't fail if GLOB_BRACE is not defined
5 5
6Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> 6Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
7
8--- 7---
9 src/util.c | 6 ++++++ 8 src/util.c | 6 ++++++
10 1 file changed, 6 insertions(+) 9 1 file changed, 6 insertions(+)
11 10
12diff --git a/src/util.c b/src/util.c 11diff --git a/src/util.c b/src/util.c
13index a4c0dba..fd4542d 100644 12index 841ec12..59595da 100644
14--- a/src/util.c 13--- a/src/util.c
15+++ b/src/util.c 14+++ b/src/util.c
16@@ -25,6 +25,12 @@ 15@@ -32,6 +32,12 @@
17 #include "util.h" 16 #include "names.h"
18 #include "netplan.h" 17 #include "yaml-helpers.h"
19 18
20+/* Don't fail if the standard library 19+/* Don't fail if the standard library
21+ * doesn't provide brace expansion */ 20+ * doesn't provide brace expansion */
@@ -23,6 +22,9 @@ index a4c0dba..fd4542d 100644
23+#define GLOB_BRACE 0 22+#define GLOB_BRACE 0
24+#endif 23+#endif
25+ 24+
26 GHashTable* wifi_frequency_24; 25 NETPLAN_ABI GHashTable*
27 GHashTable* wifi_frequency_5; 26 wifi_frequency_24;
28 27
28--
292.25.1
30
diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch
deleted file mode 100644
index 72f04a15ad..0000000000
--- a/meta-networking/recipes-connectivity/netplan/netplan/0001-parse-nm-fix-32bit-format-string.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1From 2f0ff65eaa93f18d9edb5d03329b00d8e5e73869 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Lukas=20M=C3=A4rdian?= <lukas.maerdian@canonical.com>
3Date: Wed, 4 Aug 2021 15:55:00 +0200
4Subject: [PATCH] parse-nm: fix 32bit format string
5
6---
7 src/parse-nm.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/parse-nm.c b/src/parse-nm.c
11index 9b09e34..bf998b7 100644
12--- a/src/parse-nm.c
13+++ b/src/parse-nm.c
14@@ -136,7 +136,7 @@ static void
15 handle_bridge_uint(GKeyFile* kf, const gchar* key, NetplanNetDefinition* nd, char** dataptr) {
16 if (g_key_file_get_uint64(kf, "bridge", key, NULL)) {
17 nd->custom_bridging = TRUE;
18- *dataptr = g_strdup_printf("%lu", g_key_file_get_uint64(kf, "bridge", key, NULL));
19+ *dataptr = g_strdup_printf("%"G_GUINT64_FORMAT, g_key_file_get_uint64(kf, "bridge", key, NULL));
20 _kf_clear_key(kf, "bridge", key);
21 }
22 }
23--
242.25.1
25
diff --git a/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb b/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb
index 81e20b9c8e..6a32f55d47 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb
+++ b/meta-networking/recipes-connectivity/netplan/netplan_0.104.bb
@@ -11,11 +11,10 @@ LICENSE = "GPLv3"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
12 12
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
14SRCREV = "51c872d856db80281ea810ebc02e05c09d5310fa" 14SRCREV = "3e522b7255310bdecca6c781137741dfc4abc021"
15PV = "0.103" 15PV = "0.104"
16 16
17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main;protocol=https \ 17SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main;protocol=https \
18 file://0001-parse-nm-fix-32bit-format-string.patch \
19 file://0001-Makefile-do-not-use-Werror.patch \ 18 file://0001-Makefile-do-not-use-Werror.patch \
20 " 19 "
21 20