All of lore.kernel.org
 help / color / mirror / Atom feed
* [oe] [meta-networking] [PATCH] netplan: upgrade 0.99 -> 0.100
@ 2020-11-27  1:55 zangrc
  2020-11-27 19:53 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: zangrc @ 2020-11-27  1:55 UTC (permalink / raw)
  To: openembedded-devel

0001-src-parse.c-Initialize-key-to-NULL.patch
Removed since this is included in 0.100.

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
---
 ...1-src-parse.c-Initialize-key-to-NULL.patch | 32 -------------------
 .../{netplan_0.99.bb => netplan_0.100.bb}     |  5 ++-
 2 files changed, 2 insertions(+), 35 deletions(-)
 delete mode 100644 meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch
 rename meta-networking/recipes-connectivity/netplan/{netplan_0.99.bb => netplan_0.100.bb} (95%)

diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch
deleted file mode 100644
index a710b1e57..000000000
--- a/meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 63de116c617a35ff3d54c785b3dfb5378bb07f46 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Wed, 12 Aug 2020 22:39:17 -0700
-Subject: [PATCH] src/parse.c: Initialize key to NULL
-
-Fixes
-
-src/parse.c:810:22: note: 'key' was declared here
-cc1: all warnings being treated as errors
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- src/parse.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/parse.c b/src/parse.c
-index 63a0863..c66277f 100644
---- a/src/parse.c
-+++ b/src/parse.c
-@@ -807,7 +807,7 @@ handle_addresses(yaml_document_t* doc, yaml_node_t* node, const void* _, GError*
-         char* prefix_len;
-         guint64 prefix_len_num;
-         yaml_node_t *entry = yaml_document_get_node(doc, *i);
--        yaml_node_t *key, *value = NULL;
-+        yaml_node_t *key = NULL, *value = NULL;
- 
-         if (entry->type != YAML_SCALAR_NODE && entry->type != YAML_MAPPING_NODE) {
-             return yaml_error(entry, error, "expected either scalar or mapping (check indentation)");
--- 
-2.28.0
-
diff --git a/meta-networking/recipes-connectivity/netplan/netplan_0.99.bb b/meta-networking/recipes-connectivity/netplan/netplan_0.100.bb
similarity index 95%
rename from meta-networking/recipes-connectivity/netplan/netplan_0.99.bb
rename to meta-networking/recipes-connectivity/netplan/netplan_0.100.bb
index 5546f300b..5039b277b 100644
--- a/meta-networking/recipes-connectivity/netplan/netplan_0.99.bb
+++ b/meta-networking/recipes-connectivity/netplan/netplan_0.100.bb
@@ -11,14 +11,13 @@ LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 S = "${WORKDIR}/git"
-SRCREV = "85134d13eb1ee5a1a7d139cd74ffa10933d73677"
-PV = "0.99+git${SRCPV}"
+SRCREV = "b7d32aebc880f3161b8f97ee56b729c0c54dd0e4"
+PV = "0.100+git${SRCPV}"
 
 SRC_URI = " \
         git://github.com/CanonicalLtd/netplan.git \
         file://0001-dbus-Remove-unused-variabes.patch \
         file://0002-Makefile-Use-first-prerquisite-only-for-target-rule.patch \
-        file://0001-src-parse.c-Initialize-key-to-NULL.patch \
 "
 
 DEPENDS = "glib-2.0 libyaml ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
-- 
2.25.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [oe] [meta-networking] [PATCH] netplan: upgrade 0.99 -> 0.100
  2020-11-27  1:55 [oe] [meta-networking] [PATCH] netplan: upgrade 0.99 -> 0.100 zangrc
@ 2020-11-27 19:53 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2020-11-27 19:53 UTC (permalink / raw)
  To: zangrc; +Cc: openembeded-devel

fails to build with clang see

https://errors.yoctoproject.org/Errors/Details/538863/

On Thu, Nov 26, 2020 at 5:56 PM zangrc <zangrc.fnst@cn.fujitsu.com> wrote:
>
> 0001-src-parse.c-Initialize-key-to-NULL.patch
> Removed since this is included in 0.100.
>
> Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
> ---
>  ...1-src-parse.c-Initialize-key-to-NULL.patch | 32 -------------------
>  .../{netplan_0.99.bb => netplan_0.100.bb}     |  5 ++-
>  2 files changed, 2 insertions(+), 35 deletions(-)
>  delete mode 100644 meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch
>  rename meta-networking/recipes-connectivity/netplan/{netplan_0.99.bb => netplan_0.100.bb} (95%)
>
> diff --git a/meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch b/meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch
> deleted file mode 100644
> index a710b1e57..000000000
> --- a/meta-networking/recipes-connectivity/netplan/netplan/0001-src-parse.c-Initialize-key-to-NULL.patch
> +++ /dev/null
> @@ -1,32 +0,0 @@
> -From 63de116c617a35ff3d54c785b3dfb5378bb07f46 Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem@gmail.com>
> -Date: Wed, 12 Aug 2020 22:39:17 -0700
> -Subject: [PATCH] src/parse.c: Initialize key to NULL
> -
> -Fixes
> -
> -src/parse.c:810:22: note: 'key' was declared here
> -cc1: all warnings being treated as errors
> -
> -Upstream-Status: Pending
> -Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ----
> - src/parse.c | 2 +-
> - 1 file changed, 1 insertion(+), 1 deletion(-)
> -
> -diff --git a/src/parse.c b/src/parse.c
> -index 63a0863..c66277f 100644
> ---- a/src/parse.c
> -+++ b/src/parse.c
> -@@ -807,7 +807,7 @@ handle_addresses(yaml_document_t* doc, yaml_node_t* node, const void* _, GError*
> -         char* prefix_len;
> -         guint64 prefix_len_num;
> -         yaml_node_t *entry = yaml_document_get_node(doc, *i);
> --        yaml_node_t *key, *value = NULL;
> -+        yaml_node_t *key = NULL, *value = NULL;
> -
> -         if (entry->type != YAML_SCALAR_NODE && entry->type != YAML_MAPPING_NODE) {
> -             return yaml_error(entry, error, "expected either scalar or mapping (check indentation)");
> ---
> -2.28.0
> -
> diff --git a/meta-networking/recipes-connectivity/netplan/netplan_0.99.bb b/meta-networking/recipes-connectivity/netplan/netplan_0.100.bb
> similarity index 95%
> rename from meta-networking/recipes-connectivity/netplan/netplan_0.99.bb
> rename to meta-networking/recipes-connectivity/netplan/netplan_0.100.bb
> index 5546f300b..5039b277b 100644
> --- a/meta-networking/recipes-connectivity/netplan/netplan_0.99.bb
> +++ b/meta-networking/recipes-connectivity/netplan/netplan_0.100.bb
> @@ -11,14 +11,13 @@ LICENSE = "GPLv3"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
>
>  S = "${WORKDIR}/git"
> -SRCREV = "85134d13eb1ee5a1a7d139cd74ffa10933d73677"
> -PV = "0.99+git${SRCPV}"
> +SRCREV = "b7d32aebc880f3161b8f97ee56b729c0c54dd0e4"
> +PV = "0.100+git${SRCPV}"
>
>  SRC_URI = " \
>          git://github.com/CanonicalLtd/netplan.git \
>          file://0001-dbus-Remove-unused-variabes.patch \
>          file://0002-Makefile-Use-first-prerquisite-only-for-target-rule.patch \
> -        file://0001-src-parse.c-Initialize-key-to-NULL.patch \
>  "
>
>  DEPENDS = "glib-2.0 libyaml ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> --
> 2.25.1
>
>
>
>
> 
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-27 19:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-27  1:55 [oe] [meta-networking] [PATCH] netplan: upgrade 0.99 -> 0.100 zangrc
2020-11-27 19:53 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.