summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-Avoid-linking-to-ncurses.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:00:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:00:21 +0000
commit096c82b38bdf7cee3e122f633eecda7a6a887080 (patch)
tree0a4e3be160ef1030f22cf353d1f2aa1722f1edab /debian/patches/0002-Avoid-linking-to-ncurses.patch
parentAdding upstream version 2.15. (diff)
downloadpowertop-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.patch25
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])
+ ], [])
+ ])
+