diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:00:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 20:00:21 +0000 |
commit | 096c82b38bdf7cee3e122f633eecda7a6a887080 (patch) | |
tree | 0a4e3be160ef1030f22cf353d1f2aa1722f1edab /debian/patches/0002-Avoid-linking-to-ncurses.patch | |
parent | Adding upstream version 2.15. (diff) | |
download | powertop-096c82b38bdf7cee3e122f633eecda7a6a887080.tar.xz powertop-096c82b38bdf7cee3e122f633eecda7a6a887080.zip |
Adding debian version 2.15-3.debian/2.15-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/0002-Avoid-linking-to-ncurses.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/debian/patches/0002-Avoid-linking-to-ncurses.patch b/debian/patches/0002-Avoid-linking-to-ncurses.patch new file mode 100644 index 0000000..fab96b5 --- /dev/null +++ b/debian/patches/0002-Avoid-linking-to-ncurses.patch @@ -0,0 +1,25 @@ +From: Sven Joachim <svenjoac@gmx.de> +Date: Sun, 13 May 2018 09:23:07 +0200 +Subject: Avoid linking to ncurses + +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 2571c5d..b9ef12b 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -105,9 +105,9 @@ AC_CHECK_FUNCS([ \ + + AC_SEARCH_LIBS([clock_gettime], [rt]) + +-PKG_CHECK_MODULES([NCURSES], [ncursesw ncurses], [LIBS="$LIBS $ncurses_LIBS"], [ +- AC_SEARCH_LIBS([delwin], [ncursesw ncurses], [], [ +- AC_MSG_ERROR([ncurses is required but was not found]) ++PKG_CHECK_MODULES([NCURSES], [ncursesw], [LIBS="$LIBS $ncurses_LIBS"], [ ++ AC_SEARCH_LIBS([delwin], [ncursesw], [], [ ++ AC_MSG_ERROR([ncursesw is required but was not found]) + ], []) + ]) + |