File: use-ncursesw.patch

package info (click to toggle)
libcdio 2.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 16,140 kB
  • sloc: ansic: 39,407; cpp: 2,556; sh: 1,263; makefile: 826; yacc: 324; ruby: 116; perl: 34
file content (24 lines) | stat: -rw-r--r-- 973 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Use ncursesw instead of ncurses
Author: Matthias Klose <doko@debian.org>
Forwarded: not-needed

Use ncurses with wide-character support. Since this is a matter of preference,
no upstream forwarding is necessary.

---

diff --git a/configure.ac b/configure.ac
index 5f9f9e78..7fcf6a64 100644
--- a/configure.ac
+++ b/configure.ac
@@ -668,8 +668,8 @@ fi
 if test "x$enable_cdda_player" = "xyes"; then
   PKG_CHECK_MODULES(CDDA_PLAYER, ncurses,
                     [AC_DEFINE(HAVE_KEYPAD, [1], [Define this if your libcurses has keypad])],
-                    [AC_CHECK_LIB(curses, keypad,
-                                  [CDDA_PLAYER_LIBS="-lcurses"],
+                    [AC_CHECK_LIB(ncursesw, keypad,
+                                  [CDDA_PLAYER_LIBS="-lncursesw"],
                                   [AC_MSG_WARN([Will not build cdda-player - did not find libncurses or libcurses])
                                     enable_cdda_player=no])])
 fi