From 9da89179d08db9320258fbe484707d8e02b348ea Mon Sep 17 00:00:00 2001 From: Partha Dutta <51353699+dutta-partha@users.noreply.github.com> Date: Sun, 25 Oct 2020 09:52:57 +0530 Subject: [PATCH 1/2] Libyang patch for exporting API Libyang patch for exporting API --- src/libyang/patch/libyang_mgmt_framework.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/libyang/patch/libyang_mgmt_framework.patch diff --git a/src/libyang/patch/libyang_mgmt_framework.patch b/src/libyang/patch/libyang_mgmt_framework.patch new file mode 100644 index 000000000000..03b7ea3476b7 --- /dev/null +++ b/src/libyang/patch/libyang_mgmt_framework.patch @@ -0,0 +1,13 @@ +diff --git a/src/tree_data.c b/src/tree_data.c +index 04653a46..65dca211 100644 +--- a/src/tree_data.c ++++ b/src/tree_data.c +@@ -842,7 +842,7 @@ error: + return ret; + } + +-int ++API int + lyd_check_mandatory_tree(struct lyd_node *root, struct ly_ctx *ctx, const struct lys_module **modules, int mod_count, + int options) + { From 9cbb4860ba01e7014d4fce6ea213d62fc2a236ef Mon Sep 17 00:00:00 2001 From: Partha Dutta <51353699+dutta-partha@users.noreply.github.com> Date: Sun, 25 Oct 2020 09:54:55 +0530 Subject: [PATCH 2/2] Add libyang patch for management framework --- src/libyang/patch/series | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libyang/patch/series b/src/libyang/patch/series index 773245e4eed5..251cd1b56151 100644 --- a/src/libyang/patch/series +++ b/src/libyang/patch/series @@ -1,2 +1,3 @@ libyang.patch +libyang_mgmt_framework.patch swig.patch