From nobody@FreeBSD.org  Tue Aug 28 23:12:33 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 5886B37B401
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 28 Aug 2001 23:12:32 -0700 (PDT)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f7T6CWo23709;
	Tue, 28 Aug 2001 23:12:32 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200108290612.f7T6CWo23709@freefall.freebsd.org>
Date: Tue, 28 Aug 2001 23:12:32 -0700 (PDT)
From: Buck Pyland <buck@stlbsd.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ksh93 - checksum mismatch - patch not applied
X-Send-Pr-Version: www-1.0

>Number:         30180
>Category:       ports
>Synopsis:       ksh93 - checksum mismatch - patch not applied
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 28 23:20:00 PDT 2001
>Closed-Date:    Thu Sep 27 07:13:13 PDT 2001
>Last-Modified:  Thu Sep 27 07:14:02 PDT 2001
>Originator:     Buck Pyland
>Release:        4.4-RC
>Organization:
St Louis BSD Users Group
>Environment:
FreeBSD bfg9000.localdomain 4.4-RC FreeBSD 4.4-RC #0: Fri Aug 24 13:58:07 CDT 2001     root@bfg9000.localdomain:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
1. distfiles have different checksums from distinfo file:

bfg9000# md5 ../../distfiles/ksh93/*
MD5 (../../distfiles/ksh93/INIT.2001-07-04.0000.tgz) = eda56098b7c43835b94ce9c0bcc13d06
MD5 (../../distfiles/ksh93/ast-ksh.2001-07-04.0000.tgz) = 8b564bb0640f286c97bf1359a6a19260
bfg9000# cat distinfo
MD5 (ksh93/INIT.2001-07-04.0000.tgz) = 5cb81cd79b6c4ffbd3249550541afa52
MD5 (ksh93/ast-ksh.2001-07-04.0000.tgz) = 95c4d371f2c144759aad029f20717481

2. supplied patchfile, files/patch-src_lib_libast_comp_wc.c, fails to be applied:

===>  Applying FreeBSD patches for ksh93-20010704.0000
1 out of 1 hunks failed--saving rejects to src/lib/libast/comp/wc.c.rej
>How-To-Repeat:
1. normal make (as root) from /usr/ports/shells/ksh93.
2. make NO_CHECKSUM=yes patch
>Fix:
Workaround for 1. is to run make NO_CHECKSUM=yes [args]

Workaround for 2.:
 - Edit work/lib/libast/comp/wc.c to reflect contents of patchfile.
 - touch work/.patch_done
 - make install

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Thu Sep 27 07:13:13 PDT 2001 
State-Changed-Why:  
I believe that the maintainer has some comments in PR ports/30825. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30180 
>Unformatted:
 >> Patch patch-src_lib_libast_comp_wc.c failed to apply cleanly.
 >> Patch(es) patch-src_cmd_ksh93_sh_1 applied cleanly.
 
 
