summaryrefslogtreecommitdiffstats
path: root/x11/gnome-terminal
diff options
context:
space:
mode:
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;