diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2011-10-05 20:28:39 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2011-10-05 20:28:39 +0800 |
commit | 507c4ebeb0caec3e187f19521ee3238bd87b9f01 (patch) | |
tree | 8d4bd07de61290ac8da5d73aecf386145ae2dfe6 /shells/ksh93 | |
parent | 3714ba645df420db0ed39ff2ea6ff7a40ebfa49d (diff) | |
download | freebsd-ports-gnome-507c4ebeb0caec3e187f19521ee3238bd87b9f01.tar.gz freebsd-ports-gnome-507c4ebeb0caec3e187f19521ee3238bd87b9f01.tar.zst freebsd-ports-gnome-507c4ebeb0caec3e187f19521ee3238bd87b9f01.zip |
- Bugfix: ksh segfaults on suspend
- Bump PORTREVISION for package change
Reported by: Greg Rivers <gcr+freebsd-ports@tharned.org>
Obtained from: https://bugzilla.redhat.com/show_bug.cgi?id=691077
Diffstat (limited to 'shells/ksh93')
-rw-r--r-- | shells/ksh93/Makefile | 2 | ||||
-rw-r--r-- | shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c | 10 |
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; + } |