Группа :: Система/Настройка/Пакеты
Пакет: aptitude
Главная Изменения Спек Патчи Загрузить Bugs and FR
Патч: aptitude-0.2.13-alt-default-group-policy.patch
diff -urN aptitude-0.2.13-orig/src/ui.cc aptitude-0.2.13/src/ui.cc
--- aptitude-0.2.13-orig/src/ui.cc 2003-06-02 20:46:30 +0400
+++ aptitude-0.2.13/src/ui.cc 2003-10-11 20:04:14 +0400
@@ -96,7 +96,7 @@
const char *default_pkgstatusdisplay="%d";
const char *default_pkgheaderdisplay="%N %n #%B %u %o";
-const char *default_grpstr="filter(missing),task,status,section(subdir,passthrough),section(topdir)";
+const char *default_grpstr="filter(missing),status,section(none)";
class apt_error_pager:public vs_pager
{
@@ -472,7 +472,8 @@
if(!grp)
// Eek! The default grouping failed to parse. Fall all the
// way back.
- grp=new pkg_grouppolicy_filter_factory(pkg_missing_filter,new pkg_grouppolicy_task_factory(new pkg_grouppolicy_status_factory(new pkg_grouppolicy_section_factory(pkg_grouppolicy_section_factory::split_subdir,true,new pkg_grouppolicy_section_factory(pkg_grouppolicy_section_factory::split_topdir,false,new pkg_grouppolicy_end_factory())))));
+ // filter(missing),status,section(none,nopassthrough)
+ grp=new pkg_grouppolicy_filter_factory(pkg_missing_filter,new pkg_grouppolicy_status_factory(new pkg_grouppolicy_section_factory(pkg_grouppolicy_section_factory::split_none,false,new pkg_grouppolicy_end_factory())));
}
pkg_tree *tree=new pkg_tree(grpstr.c_str(), grp, NULL);