Accepting request 91784 from shells

- Use libtinfo if available otherwise libncurses (required due
  bnc #729226)

OBS-URL: https://build.opensuse.org/request/show/91784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcsh?expand=0&rev=40
This commit is contained in:
Stephan Kulow 2011-11-16 16:21:49 +00:00 committed by Git OBS Bridge
commit 0eb036b3dc
2 changed files with 28 additions and 9 deletions

View File

@ -1,12 +1,3 @@
--- .pkgextract
+++ .pkgextract 2006-04-25 12:58:31.000000000 +0000
@@ -0,0 +1,6 @@
+patch -p0 -s --suffix=.spell < ../tcsh-6.15.00-spelling.dif
+patch -p0 -s --suffix=.utf8 < ../tcsh-6.15.00-utf8.dif
+patch -p0 -s --suffix=.pipe < ../tcsh-6.15.00-pipe.dif
+patch -p0 -s --suffix=.longjmp < ../tcsh-6.15.00-longjmp.dif
+patch -p0 -s --suffix=.normcmd < ../tcsh-6.15.00-norm-cmd.dif
+patch -p0 -s --suffix=.history < ../tcsh-6.15.00-history.dif
--- Makefile.in
+++ Makefile.in 2006-04-25 12:58:31.000000000 +0000
@@ -591,12 +591,12 @@ vgrind:
@ -160,6 +151,28 @@
# ifndef __GNUC__
# define RCSID(id) static char *rcsid = (id);
# else
--- configure
+++ configure 2011-11-16 10:49:20.000000000 +0000
@@ -3654,7 +3654,7 @@ return tgetent ();
return 0;
}
_ACEOF
-for ac_lib in '' termlib termcap curses ncurses; do
+for ac_lib in '' termlib termcap tinfo curses ncurses; do
if test -z "$ac_lib"; then
ac_res="none required"
else
--- configure.in
+++ configure.in 2011-11-16 10:49:09.000000000 +0000
@@ -281,7 +281,7 @@ fi
dnl Checks for libraries
AC_SEARCH_LIBS(crypt, crypt)
AC_SEARCH_LIBS(getspnam, sec)
-AC_SEARCH_LIBS(tgetent, termlib termcap curses ncurses)
+AC_SEARCH_LIBS(tgetent, termlib termcap tinfo curses ncurses)
AC_SEARCH_LIBS(gethostbyname, nsl)
AC_SEARCH_LIBS(connect, socket)
AM_ICONV
--- glob.h
+++ glob.h 2006-04-25 12:58:31.000000000 +0000
@@ -72,6 +72,7 @@ typedef struct {

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 16 11:12:23 UTC 2011 - werner@suse.de
- Use libtinfo if available otherwise libncurses (required due
bnc #729226)
-------------------------------------------------------------------
Mon Feb 28 14:59:52 CET 2011 - werner@suse.de