From 507c4ebeb0caec3e187f19521ee3238bd87b9f01 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Wed, 5 Oct 2011 12:28:39 +0000 Subject: - Bugfix: ksh segfaults on suspend - Bump PORTREVISION for package change Reported by: Greg Rivers Obtained from: https://bugzilla.redhat.com/show_bug.cgi?id=691077 --- shells/ksh93/Makefile | 2 +- shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 shells/ksh93/files/patch-src-cmd-ksh93-sh-jobs.c (limited to 'shells/ksh93') 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; + } -- cgit