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/0101-do-not-link-against-stdc++fs.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

13 lines
347 B
Diff

diff -uNr a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -14,7 +14,7 @@
localedir = $(datadir)/locale
AM_CPPFLAGS = -I$(top_builddir) -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/src
-FILESYSTEM_LDFLAGS = -lstdc++fs
+FILESYSTEM_LDFLAGS =
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
bin_PROGRAMS=aptitude