Patchwork opkg: add missing initialization of conf->exclude_list

login
register
mail settings
Submitter Jonathan Liu
Date Aug. 23, 2013, 10:50 a.m.
Message ID <1377255050-9579-1-git-send-email-net147@gmail.com>
Download mbox | patch
Permalink /patch/56319/
State Accepted
Commit 6056f12df72ca2718f3c7447880403c7b66a94b1
Headers show

Comments

Jonathan Liu - Aug. 23, 2013, 10:50 a.m.
Signed-off-by: Jonathan Liu <net147@gmail.com>
---
 meta/recipes-devtools/opkg/opkg/add-exclude.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Patch

diff --git a/meta/recipes-devtools/opkg/opkg/add-exclude.patch b/meta/recipes-devtools/opkg/opkg/add-exclude.patch
index 34e2bb4..8489058 100644
--- a/meta/recipes-devtools/opkg/opkg/add-exclude.patch
+++ b/meta/recipes-devtools/opkg/opkg/add-exclude.patch
@@ -10,7 +10,20 @@  so there is no need to free the data.
 Upstream-Status: Pending
 
 Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
+Signed-off-by: Jonathan Liu <net147@gmail.com>
 
+Index: trunk/libopkg/opkg_conf.c
+===================================================================
+--- trunk.orig/libopkg/opkg_conf.c
++++ trunk/libopkg/opkg_conf.c
+@@ -442,6 +442,7 @@ opkg_conf_init(void)
+ 	pkg_dest_list_init(&conf->pkg_dest_list);
+ 	pkg_dest_list_init(&conf->tmp_dest_list);
+ 	nv_pair_list_init(&conf->arch_list);
++	conf->exclude_list = NULL;
+ 
+ 	return 0;
+ }
 Index: trunk/libopkg/opkg_conf.h
 ===================================================================
 --- trunk.orig/libopkg/opkg_conf.h