summaryrefslogtreecommitdiff
path: root/app-shells/tcsh/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-shells/tcsh/files
reinit the tree, so we can have metadata
Diffstat (limited to 'app-shells/tcsh/files')
-rw-r--r--app-shells/tcsh/files/tcsh-6.18.01-aix.patch14
-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
3 files changed, 46 insertions, 0 deletions
diff --git a/app-shells/tcsh/files/tcsh-6.18.01-aix.patch b/app-shells/tcsh/files/tcsh-6.18.01-aix.patch
new file mode 100644
index 000000000000..669d20634731
--- /dev/null
+++ b/app-shells/tcsh/files/tcsh-6.18.01-aix.patch
@@ -0,0 +1,14 @@
+Upstream report, without better patch yet:
+http://bugs.gw.com/view.php?id=366
+
+--- tc.who.c.orig 2014-06-26 11:21:43 +0200
++++ tc.who.c 2014-06-26 11:21:58 +0200
+@@ -60,6 +60,8 @@
+ # define TCSH_PATH_UTMP _PATH_UTMPX
+ # elif defined(UTMPX_FILE)
+ # define TCSH_PATH_UTMP UTMPX_FILE
++# elif defined(UTMP_FILE)
++# define TCSH_PATH_UTMP UTMP_FILE
+ # elif __FreeBSD_version >= 900000
+ # /* Why isn't this defined somewhere? */
+ # define TCSH_PATH_UTMP "/var/run/utx.active"
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 000000000000..3b18f1c45d77
--- /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 000000000000..e17841863d81
--- /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)