]> git.pld-linux.org Git - packages/dump.git/commitdiff
- use tinfo instead of ncurses
authorsparky <sparky@pld-linux.org>
Wed, 2 Aug 2006 00:09:47 +0000 (00:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dump-as_needed-fix.patch -> 1.1

dump-as_needed-fix.patch [new file with mode: 0644]

diff --git a/dump-as_needed-fix.patch b/dump-as_needed-fix.patch
new file mode 100644 (file)
index 0000000..7713a9d
--- /dev/null
@@ -0,0 +1,28 @@
+diff -Nur dump-0.4b41/configure.in dump-0.4b41.as_needed-fix/configure.in
+--- dump-0.4b41/configure.in   2006-08-02 02:05:37.000000000 +0200
++++ dump-0.4b41.as_needed-fix/configure.in     2006-08-02 02:05:37.000000000 +0200
+@@ -450,18 +450,18 @@
+ AC_SUBST(BLKID)
+ dnl
+-dnl Check for ncurses or termcap libraries
++dnl Check for tinfo or termcap libraries
+ dnl
+-AC_CHECK_LIB(ncurses, tgetent, [ncurses_lib=yes], [ncurses_lib=no])
++AC_CHECK_LIB(tinfo, tgetent, [tinfo_lib=yes], [tinfo_lib=no])
+ AC_CHECK_LIB(termcap, tgetent, [termcap_lib=yes], [termcap_lib=no])
+-if test "$ncurses_lib" = no -a "$termcap_lib" = no; then
++if test "$tinfo_lib" = no -a "$termcap_lib" = no; then
+       if test "$READLINE" = "yes"; then
+-              AC_MSG_ERROR(You need to install the ncurses or termcap library or configure without --enable-readline)
++              AC_MSG_ERROR(You need to install the tinfo or termcap library or configure without --enable-readline)
+       fi
+ fi
+-if test "$ncurses_lib" = yes; then
+-      rdllib="-lncurses"
++if test "$tinfo_lib" = yes; then
++      rdllib="-ltinfo"
+ elif test "$termcap_lib" = yes; then
+       rdllib="-ltermcap"
+ fi
This page took 0.194106 seconds and 4 git commands to generate.