aboutsummaryrefslogtreecommitdiff
path: root/shells/ksh93
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-05 12:28:39 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-10-05 12:28:39 +0000
commitef4cf984b66b43d8a4ec46e71dfc2fe8973b4a58 (patch)
treedefbfcd4c569770aa4ca59cd142519497a398be5 /shells/ksh93
parent898389dd865e7abd32973a7b433c694d06ef1d24 (diff)
downloadports-ef4cf984b66b43d8a4ec46e71dfc2fe8973b4a58.tar.gz
ports-ef4cf984b66b43d8a4ec46e71dfc2fe8973b4a58.zip
Notes
Diffstat (limited to 'shells/ksh93')
-rw-r--r--shells/ksh93/Makefile2
-rw-r--r--shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index 284ef53355ba..1ad23a1de677 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -17,7 +17,7 @@
PORTNAME= ksh93
PORTVERSION= ${KSHVERSION:S/-//g}
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= shells
MASTER_SITES= http://www.research.att.com/~gsf/download/tgz/
DISTFILES= INIT.${KSHVERSION}.tgz ast-ksh.${KSHVERSION}.tgz
diff --git a/shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c b/shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c
new file mode 100644
index 000000000000..1fec0eb2ff96
--- /dev/null
+++ b/shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c
@@ -0,0 +1,10 @@
+--- src/cmd/ksh93/sh/jobs.c.orig 2010-12-02 00:57:47.000000000 +0800
++++ src/cmd/ksh93/sh/jobs.c 2011-10-05 10:52:30.844946545 +0800
+@@ -945,6 +945,7 @@
+ if(!(pw = job_bypid(pid)))
+ {
+ pw = &dummy;
++ pw->p_shp = sh_getinterp();
+ pw->p_pid = pid;
+ pw->p_pgrp = pid;
+ }