0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-05-10 18:35:41 +00:00
Files
termux-packages/disabled-packages/aptitude/0105-add-namespace-to-ptr_fun.patch
Ted Stein 47f0921d9e rmpkg(main/aptitude): Remove redundant/broken apt alternative
`aptitude`'s unique functionality is a TUI alternative to `apt`. It
hardcodes the belief that you must be root to change packages, and
attempting to make any changes prompts you to become root, which
obviously won't work for most users. I didn't try, but if it did work,
it would obviously do something bad.

Its `apt`-alike non-interactive use (`aptitude install`, etc) appears to
work fine without root, but looks to be basically identical to `apt`
proper.
2025-04-01 18:24:15 +08:00

14 lines
474 B
Diff

--- a/src/ui.cc
+++ b/src/ui.cc
@@ -694,8 +694,8 @@
{
really_quit_active = true;
prompt_yesno(_("Really quit Aptitude?"), false,
- cw::util::arg(sigc::bind(ptr_fun(do_really_quit_answer), true)),
- cw::util::arg(sigc::bind(ptr_fun(do_really_quit_answer), false)));
+ cw::util::arg(sigc::bind(sigc::ptr_fun(do_really_quit_answer), true)),
+ cw::util::arg(sigc::bind(sigc::ptr_fun(do_really_quit_answer), false)));
}
}
else