From dcs@tcoip.com.br  Wed Oct  9 06:49:40 2002
Return-Path: <dcs@tcoip.com.br>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C537537B408
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Oct 2002 06:49:40 -0700 (PDT)
Received: from mail.tcoip.com.br (erato.tco.net.br [200.220.254.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 918E343E3B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Oct 2002 06:49:38 -0700 (PDT)
	(envelope-from dcs@tcoip.com.br)
Received: from dcs.intra.tcoip.com.br ([10.0.2.6])
	by mail.tcoip.com.br (8.11.6/8.11.6) with ESMTP id g99DlhJ18988
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 9 Oct 2002 10:47:43 -0300
Received: from dcs.intra.tcoip.com.br (localhost [127.0.0.1])
	by dcs.intra.tcoip.com.br (8.12.5/8.12.5) with ESMTP id g99Dlh55021092
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 9 Oct 2002 10:47:43 -0300 (BRT)
	(envelope-from dcs@dcs.intra.tcoip.com.br)
Received: (from dcs@localhost)
	by dcs.intra.tcoip.com.br (8.12.5/8.12.5/Submit) id g99DlggK021091;
	Wed, 9 Oct 2002 10:47:42 -0300 (BRT)
	(envelope-from dcs)
Message-Id: <200210091347.g99DlggK021091@dcs.intra.tcoip.com.br>
Date: Wed, 9 Oct 2002 10:47:42 -0300 (BRT)
From: "Daniel C. Sobral" <dcs@tcoip.com.br>
Reply-To: "Daniel C. Sobral" <dcs@tcoip.com.br>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: post-patch files do not match distfiles in graphics/xv
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43860
>Category:       ports
>Synopsis:       post-patch files do not match distfiles in graphics/xv
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    shige
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 09 06:50:01 PDT 2002
>Closed-Date:    Tue Oct 15 08:33:03 PDT 2002
>Last-Modified:  Tue Oct 15 08:33:03 PDT 2002
>Originator:     Daniel C. Sobral
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD dcs 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Aug 13 10:40:45 BRT 2002 root@dcs:/usr/obj/usr/src/sys/DCS i386

	Not relevant.

>Description:

	In revision 1.52, jp-ext-bzip2.patch was renamed to jp-ext-bzip2-1.1.patch in
	DISTFILES, but the post-patch target still refers to the original file, causing
	the port not to build unless the previously used file is available.

>How-To-Repeat:

	Remove xv, remove /usr/ports/distfiles/jp-ext-bzip2.patch, try to build xv.

>Fix:

	Apply the following patch:


--- Makefile.orig	Wed Oct  9 10:38:35 2002
+++ Makefile	Wed Oct  9 10:38:57 2002
@@ -55,7 +55,7 @@
 	${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/mp-tiff-patch
 	${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/xv-png-1.2d.patch
 	${PATCH} ${PATCH_ARGS} -p0 < ${XVDIST}/xvpng-1.2d-fix3.patch
-	${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2.patch
+	${PATCH} ${PATCH_ARGS} -p1 < ${XVDIST}/jp-ext-bzip2-1.1.patch
 	@${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.in
 	@${CAT} ${WRKSRC}/config.h.in | \
 		${SED} -e "s@%%LOCALBASE%%@${LOCALBASE}@" > ${WRKSRC}/config.h

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->shige 
Responsible-Changed-By: dcs 
Responsible-Changed-When: Wed Oct 9 06:51:02 PDT 2002 
Responsible-Changed-Why:  
Sent to maintainer (and bug introducer :). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43860 
State-Changed-From-To: open->closed 
State-Changed-By: shige 
State-Changed-When: Tue Oct 15 08:32:31 PDT 2002 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43860 
>Unformatted:
