From owner-svn-ports-branches@freebsd.org  Thu Aug  8 16:14:47 2019
Return-Path: <owner-svn-ports-branches@freebsd.org>
Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8F043AA928;
 Thu,  8 Aug 2019 16:14:47 +0000 (UTC) (envelope-from cy@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 464D3W3DmXz4W5X;
 Thu,  8 Aug 2019 16:14:47 +0000 (UTC) (envelope-from cy@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 50AA327BC3;
 Thu,  8 Aug 2019 16:14:47 +0000 (UTC) (envelope-from cy@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x78GElhS032054;
 Thu, 8 Aug 2019 16:14:47 GMT (envelope-from cy@FreeBSD.org)
Received: (from cy@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id x78GEkSJ032052;
 Thu, 8 Aug 2019 16:14:46 GMT (envelope-from cy@FreeBSD.org)
Message-Id: <201908081614.x78GEkSJ032052@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org
 using -f
From: Cy Schubert <cy@FreeBSD.org>
Date: Thu, 8 Aug 2019 16:14:46 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-branches@freebsd.org
Subject: svn commit: r508392 - in branches/2019Q3/shells/ksh93: . files
X-SVN-Group: ports-branches
X-SVN-Commit-Author: cy
X-SVN-Commit-Paths: in branches/2019Q3/shells/ksh93: . files
X-SVN-Commit-Revision: 508392
X-SVN-Commit-Repository: ports
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-branches@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: SVN commit messages for all the branches of the ports tree
 <svn-ports-branches.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-branches>, 
 <mailto:svn-ports-branches-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-branches/>
List-Post: <mailto:svn-ports-branches@freebsd.org>
List-Help: <mailto:svn-ports-branches-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-branches>, 
 <mailto:svn-ports-branches-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Aug 2019 16:14:47 -0000

Author: cy
Date: Thu Aug  8 16:14:46 2019
New Revision: 508392
URL: https://svnweb.freebsd.org/changeset/ports/508392

Log:
  MFH: r508344
  
  Fix:
  
  $ ksh93
  $ time
  ../src/cmd/ksh93/sh/xec.c:2171: failed assertion 'tb.tv_sec'
  Abort trap (core dumped)
  $ ksh93
  $ times
  ../src/cmd/ksh93/sh/xec.c:2171: failed assertion 'tb.tv_sec'
  Abort trap (core dumped)
  
  PR:		239701
  Suggested by:	w.schwarzenfeld@utanet.at
  Approved by:	portmgr (delphij@)

Added:
  branches/2019Q3/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c
     - copied unchanged from r508344, head/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c
Modified:
  branches/2019Q3/shells/ksh93/Makefile
Directory Properties:
  branches/2019Q3/   (props changed)

Modified: branches/2019Q3/shells/ksh93/Makefile
==============================================================================
--- branches/2019Q3/shells/ksh93/Makefile	Thu Aug  8 15:33:54 2019	(r508391)
+++ branches/2019Q3/shells/ksh93/Makefile	Thu Aug  8 16:14:46 2019	(r508392)
@@ -3,7 +3,7 @@
 PORTNAME=	ksh93
 DISTVERSION=2020.0.0-alpha1
 PORTEPOCH=	1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	shells
 
 MAINTAINER=	cy@freebsd.org

Copied: branches/2019Q3/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c (from r508344, head/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2019Q3/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c	Thu Aug  8 16:14:46 2019	(r508392, copy of r508344, head/shells/ksh93/files/patch-src_cmd_ksh93_sh_xec.c)
@@ -0,0 +1,11 @@
+--- src/cmd/ksh93/sh/xec.c.orig	2019-04-16 20:04:19 UTC
++++ src/cmd/ksh93/sh/xec.c
+@@ -2167,7 +2167,7 @@ int sh_exec(Shell_t *shp, const Shnode_t *t, int flags
+             }
+ #ifdef timeofday
+             times(&after);
+-            timeofday(&ta);
++            timeofday(&tb);
+             assert(tb.tv_sec);
+             at = shp->gd->lim.clk_tck * (ta.tv_sec - tb.tv_sec);
+             at += ((shp->gd->lim.clk_tck *