[oe-commits] Jonathan Liu : opkg: add missing initialization of conf->exclude_list

git at git.openembedded.org git at git.openembedded.org
Mon Aug 26 10:36:49 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: e4190b601c0212f0009ddb2dfa00d2880bddbc29
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e4190b601c0212f0009ddb2dfa00d2880bddbc29

Author: Jonathan Liu <net147 at gmail.com>
Date:   Fri Aug 23 20:50:50 2013 +1000

opkg: add missing initialization of conf->exclude_list

Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-devtools/opkg/opkg/add-exclude.patch |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

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 at windriver.com>
+Signed-off-by: Jonathan Liu <net147 at 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



More information about the Openembedded-commits mailing list