gentoo-ebuilds/net-analyzer/nload/files/nload-0.7.5_pre-tinfo.patch
Andrey Mazo eddd90a488
net-analyzer/nload: version bump to 0.7.5_pre20180309
Add latest git snapshot (still 6 years old) for nload
to fix bug #923084 about deprecated `configure.in`.

There have been no upstream releases for ~12 years now,
so have to use a git snapshot.

There have been some 34 commits since the latest release (0.7.4)
including fixes and new features,
so call this a "0.7.5 pre-release".

In particular, nload's build system doesn't strip binaries by default anymore,
and it dropped `--enable-debug` configure flag,
so the ebuild doesn't need to specify it either.

The git diff makes more sense with `-C -C30` flags.

Bug: https://bugs.gentoo.org/923084
Signed-off-by: Andrey Mazo <ahipp0@pm.me>
Closes: https://github.com/gentoo/gentoo/pull/35063
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
2024-02-15 15:17:10 +02:00

10 lines
264 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -70,6 +70,7 @@
esac
dnl Checks for libraries.
+PKG_CHECK_MODULES([NCURSES],[ncurses],[LIBS="$LIBS $NCURSES_LIBS"],[AC_MSG_ERROR([ncurses was not found])])
AC_CHECK_LIB(ncurses, initscr)
AC_CHECK_LIB(form, new_form)