summaryrefslogtreecommitdiffstats
path: root/x11/gnome-terminal
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-29 09:48:31 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2010-04-29 09:48:31 +0800
commit21bdf2cc5668a3dcdebba7ded6871f651ce8bdc6 (patch)
tree9825a2bd2850c3e8c3995db8d43efd5252c87e9b /x11/gnome-terminal
parent844a8a83aff4405a47c03f97f14f3fb87bb2b33c (diff)
downloadmarcuscom-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.c2
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;