From e4190b601c0212f0009ddb2dfa00d2880bddbc29 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Fri, 23 Aug 2013 20:50:50 +1000 Subject: opkg: add missing initialization of conf->exclude_list Signed-off-by: Jonathan Liu Signed-off-by: Saul Wold --- meta/recipes-devtools/opkg/opkg/add-exclude.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'meta/recipes-devtools') diff --git a/meta/recipes-devtools/opkg/opkg/add-exclude.patch b/meta/recipes-devtools/opkg/opkg/add-exclude.patch index 34e2bb49fd..8489058b9e 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 +Signed-off-by: Jonathan Liu +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 -- cgit v1.2.3