diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-11 20:41:24 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-10-14 07:16:58 -0700 |
| commit | 0d27e1955f4b3699e3dc4312b066c5db50e66fff (patch) | |
| tree | 759a96f4ac0473a468385bef013f88aa29acdd49 | |
| parent | 9117ecbe1ee886c5bc2f8d43018f42f2ee6f4f0b (diff) | |
| download | meta-openembedded-0d27e1955f4b3699e3dc4312b066c5db50e66fff.tar.gz | |
netplan: do not use -Werror
This addresses openssl 3.x deprecation warnings turning into errors.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
3 files changed, 31 insertions, 3 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 new file mode 100644 index 0000000000..ddc44c3ca0 --- /dev/null +++ b/meta-networking/recipes-connectivity/netplan/netplan/0001-Makefile-do-not-use-Werror.patch | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | From a06c77557ed951249d5b344441ad6ec57410e63f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex@linutronix.de> | ||
| 3 | Date: Sun, 3 Oct 2021 21:52:16 +0200 | ||
| 4 | Subject: [PATCH] Makefile: do not use -Werror | ||
| 5 | |||
| 6 | Upstream-Status: Inappropriate [oe-core specific] | ||
| 7 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
| 8 | --- | ||
| 9 | Makefile | 1 - | ||
| 10 | 1 file changed, 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/Makefile b/Makefile | ||
| 13 | index 8645aee..50fc0da 100644 | ||
| 14 | --- a/Makefile | ||
| 15 | +++ b/Makefile | ||
| 16 | @@ -7,7 +7,6 @@ BUILDFLAGS = \ | ||
| 17 | -D_XOPEN_SOURCE=500 \ | ||
| 18 | -DSBINDIR=\"$(SBINDIR)\" \ | ||
| 19 | -Wall \ | ||
| 20 | - -Werror \ | ||
| 21 | $(NULL) | ||
| 22 | |||
| 23 | SYSTEMD_GENERATOR_DIR=$(shell pkg-config --variable=systemdsystemgeneratordir systemd) | ||
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 0fa6ba48a4..c7d371dfa0 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 | |||
| @@ -1,16 +1,19 @@ | |||
| 1 | From ceb4111af317ecc54d97bb21878dcccbfdb2983e Mon Sep 17 00:00:00 2001 | 1 | From e0df1f07d1707d5daf0358cc60b30f06121f7e60 Mon Sep 17 00:00:00 2001 |
| 2 | From: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2 | From: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> |
| 3 | Date: Fri, 25 Dec 2020 11:41:43 +0900 | 3 | Date: Fri, 25 Dec 2020 11:41:43 +0900 |
| 4 | Subject: [PATCH] don't fail if GLOB_BRACE is not defined | 4 | Subject: [PATCH] don't fail if GLOB_BRACE is not defined |
| 5 | 5 | ||
| 6 | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 6 | Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> |
| 7 | |||
| 7 | --- | 8 | --- |
| 8 | src/util.c | 6 ++++++ | 9 | src/util.c | 6 ++++++ |
| 9 | 1 file changed, 6 insertions(+) | 10 | 1 file changed, 6 insertions(+) |
| 10 | 11 | ||
| 12 | diff --git a/src/util.c b/src/util.c | ||
| 13 | index a4c0dba..fd4542d 100644 | ||
| 11 | --- a/src/util.c | 14 | --- a/src/util.c |
| 12 | +++ b/src/util.c | 15 | +++ b/src/util.c |
| 13 | @@ -24,6 +24,12 @@ | 16 | @@ -25,6 +25,12 @@ |
| 14 | #include "util.h" | 17 | #include "util.h" |
| 15 | #include "netplan.h" | 18 | #include "netplan.h" |
| 16 | 19 | ||
diff --git a/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb b/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb index 682a6b611d..3527bceeb2 100644 --- a/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb +++ b/meta-networking/recipes-connectivity/netplan/netplan_0.103.bb | |||
| @@ -15,7 +15,9 @@ SRCREV = "51c872d856db80281ea810ebc02e05c09d5310fa" | |||
| 15 | PV = "0.103" | 15 | PV = "0.103" |
| 16 | 16 | ||
| 17 | SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main \ | 17 | SRC_URI = "git://github.com/CanonicalLtd/netplan.git;branch=main \ |
| 18 | file://0001-parse-nm-fix-32bit-format-string.patch" | 18 | file://0001-parse-nm-fix-32bit-format-string.patch \ |
| 19 | file://0001-Makefile-do-not-use-Werror.patch \ | ||
| 20 | " | ||
| 19 | 21 | ||
| 20 | SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch" | 22 | SRC_URI:append:libc-musl = " file://0001-don-t-fail-if-GLOB_BRACE-is-not-defined.patch" |
| 21 | 23 | ||
