summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/opkg/opkg/add-exclude.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/add-exclude.patch b/meta/recipes-devtools/opkg/opkg/add-exclude.patch
index 8489058b9e..8d328d5b86 100644
--- a/meta/recipes-devtools/opkg/opkg/add-exclude.patch
+++ b/meta/recipes-devtools/opkg/opkg/add-exclude.patch
@@ -84,7 +84,7 @@ Index: trunk/src/opkg-cl.c
84 {"test", 0, 0, ARGS_OPT_NOACTION}, 84 {"test", 0, 0, ARGS_OPT_NOACTION},
85 {"tmp-dir", 1, 0, 't'}, 85 {"tmp-dir", 1, 0, 't'},
86 {"tmp_dir", 1, 0, 't'}, 86 {"tmp_dir", 1, 0, 't'},
87@@ -198,6 +200,17 @@ args_parse(int argc, char *argv[]) 87@@ -198,6 +200,18 @@ args_parse(int argc, char *argv[])
88 } 88 }
89 free(tuple); 89 free(tuple);
90 break; 90 break;
@@ -99,10 +99,11 @@ Index: trunk/src/opkg-cl.c
99+ conf->exclude_list = realloc(conf->exclude_list, sizeof(char *) * conf->exclude_count); 99+ conf->exclude_list = realloc(conf->exclude_list, sizeof(char *) * conf->exclude_count);
100+ conf->exclude_list[conf->exclude_count - 1] = tuple; 100+ conf->exclude_list[conf->exclude_count - 1] = tuple;
101+ } 101+ }
102+ break;
102 case ARGS_OPT_NOACTION: 103 case ARGS_OPT_NOACTION:
103 conf->noaction = 1; 104 conf->noaction = 1;
104 break; 105 break;
105@@ -282,6 +295,7 @@ usage() 106@@ -282,6 +296,7 @@ usage()
106 printf("\t--offline-root <dir> offline installation of packages.\n"); 107 printf("\t--offline-root <dir> offline installation of packages.\n");
107 printf("\t--add-arch <arch>:<prio> Register architecture with given priority\n"); 108 printf("\t--add-arch <arch>:<prio> Register architecture with given priority\n");
108 printf("\t--add-dest <name>:<path> Register destination with given path\n"); 109 printf("\t--add-dest <name>:<path> Register destination with given path\n");