summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haubenwallner <haubi@gentoo.org>2015-02-17 15:03:26 +0000
committerMichael Haubenwallner <haubi@gentoo.org>2015-02-17 15:03:26 +0000
commit0b0681bd4f35ea482598242ce774483a72c720d3 (patch)
tree55331027e2763243048d3ac94ba3cc884da8b757 /app-shells/tcsh/files
parentrlwrap-0.42: Add ~ppc-aix keyword. (diff)
downloadgentoo-2-0b0681bd4f35ea482598242ce774483a72c720d3.tar.gz
gentoo-2-0b0681bd4f35ea482598242ce774483a72c720d3.tar.bz2
gentoo-2-0b0681bd4f35ea482598242ce774483a72c720d3.zip
tcsh-6.18.01-r2: Add AIX patch for now until upstream (bug#366) knows better.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key C719EE20)
Diffstat (limited to 'app-shells/tcsh/files')
-rw-r--r--app-shells/tcsh/files/tcsh-6.18.01-aix.patch14
1 files changed, 14 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"