From 8cb60cdd1dc91e235522527366bc98b748844bd1 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sat, 3 Mar 2012 23:42:09 +0100 Subject: [PATCH] libs/parser: effectively allow setting the package name Signed-off-by: "Yann E. MORIN" --- libs/parser/yconf.y | 2 +- libs/parser/yconf.y.patch | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/libs/parser/yconf.y b/libs/parser/yconf.y index a09276e..932be3d 100644 --- a/libs/parser/yconf.y +++ b/libs/parser/yconf.y @@ -496,7 +496,7 @@ void conf_parse(const char *name) modules_sym = sym_lookup(NULL, 0); modules_sym->type = S_BOOLEAN; modules_sym->flags |= SYMBOL_AUTO; - rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); + rootmenu.prompt = menu_add_prompt(P_MENU, PACKAGE "Configuration", NULL); if (getenv("ZCONF_DEBUG")) zconfdebug = 1; diff --git a/libs/parser/yconf.y.patch b/libs/parser/yconf.y.patch index 86322f5..12ea49d 100644 --- a/libs/parser/yconf.y.patch +++ b/libs/parser/yconf.y.patch @@ -9,6 +9,15 @@ %} %% +@@ -496,7 +496,7 @@ + modules_sym = sym_lookup(NULL, 0); + modules_sym->type = S_BOOLEAN; + modules_sym->flags |= SYMBOL_AUTO; +- rootmenu.prompt = menu_add_prompt(P_MENU, "Linux Kernel Configuration", NULL); ++ rootmenu.prompt = menu_add_prompt(P_MENU, PACKAGE "Configuration", NULL); + + if (getenv("ZCONF_DEBUG")) + zconfdebug = 1; @@ -732,7 +732,7 @@ } } -- 2.39.5