diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-04-29 09:48:31 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-04-29 09:48:31 +0800 |
commit | 21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6 (patch) | |
tree | 9825a2bd2850c3e8c3995db8d43efd5252c87e9b /x11/gnome-terminal | |
parent | 844a8a83aff4405a47c03f97f14f3fb87bb2b33c (diff) | |
download | marcuscom-ports-21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6.tar marcuscom-ports-21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6.tar.gz marcuscom-ports-21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6.tar.bz2 marcuscom-ports-21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6.tar.lz marcuscom-ports-21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6.tar.xz marcuscom-ports-21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6.tar.zst marcuscom-ports-21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6.zip |
A typo of pid that causes it uses not-initialized variable fgpid and fails to
get cwd every time.
PR: ports/145511
Submitted by: Pavel Plesov <pavel.plesov@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14114 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome-terminal')
-rw-r--r-- | x11/gnome-terminal/files/patch-src_terminal-screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/x11/gnome-terminal/files/patch-src_terminal-screen.c b/x11/gnome-terminal/files/patch-src_terminal-screen.c index 52f80dd55..3af16e2e3 100644 --- a/x11/gnome-terminal/files/patch-src_terminal-screen.c +++ b/x11/gnome-terminal/files/patch-src_terminal-screen.c @@ -50,7 +50,7 @@ } } +#else -+ int fgpid; ++ int fgpid = pid; +#if __FreeBSD_version > 800018 || (__FreeBSD_version < 800000 && __FreeBSD_version >= 700104) +#ifndef HAVE_KINFO_GETFILE + name[0] = CTL_KERN; |