summaryrefslogtreecommitdiff
path: root/app-shells/tcsh/files
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-12-15 14:59:07 +0100
committerFabian Groffen <grobian@gentoo.org>2016-12-15 15:07:00 +0100
commit45730222f99dc6e5b3d6f05146b88cd3d955df92 (patch)
tree3543e0335107e293d07e774d4a0d5238a0319b3a /app-shells/tcsh/files
parentab48131ac0e496482b97e41fbe70b00ab5deda79 (diff)
downloadgentoo-45730222f99dc6e5b3d6f05146b88cd3d955df92.tar.gz
gentoo-45730222f99dc6e5b3d6f05146b88cd3d955df92.tar.xz
app-shells/tcsh: version bump to 6.20
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-shells/tcsh/files')
-rw-r--r--app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch21
-rw-r--r--app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch11
2 files changed, 32 insertions, 0 deletions
diff --git a/app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch b/app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch
new file mode 100644
index 00000000000..3b18f1c45d7
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.20.00-debian-dircolors.patch
@@ -0,0 +1,21 @@
+forward-ported 6.14 to 6.20 patch from Debian
+
+--- tcsh-6.20.00/tw.color.c
++++ tcsh-6.20.00/tw.color.c
+@@ -382,13 +382,10 @@
+ if ((Char)variables[i].variable[0] == (v[0] & CHAR) &&
+ (Char)variables[i].variable[1] == (v[1] & CHAR))
+ break;
+- if (i < nvariables) {
+- v += 3;
++ v += 3;
++ if (i < nvariables)
+ getstring(&c, &v, &variables[i].color, ':');
+- continue;
+- }
+- else
+- stderror(ERR_BADCOLORVAR, v[0], v[1]);
++ continue;
+ }
+ break;
+ }
diff --git a/app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch b/app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch
new file mode 100644
index 00000000000..e17841863d8
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.20.00-use-ncurses-tinfo.patch
@@ -0,0 +1,11 @@
+--- tcsh-6.20.00/configure.ac
++++ tcsh-6.20.00/configure.ac
+@@ -317,7 +317,7 @@
+ 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], [ncurses tinfo], [], [
+ AC_MSG_ERROR([unable to find the tgetent() function])
+ ])
+ AC_SEARCH_LIBS(gethostbyname, nsl)