From leeym@utopia.leeym.com  Thu Mar 23 15:47:26 2006
Return-Path: <leeym@utopia.leeym.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4880F16A422
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Mar 2006 15:47:26 +0000 (UTC)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr21.hinet.net (msr21.hinet.net [168.95.4.121])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7CFFB43D72
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 23 Mar 2006 15:47:25 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52])
	by msr21.hinet.net (8.9.3/8.9.3) with ESMTP id XAA08544;
	Thu, 23 Mar 2006 23:47:19 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id 7C515B29CCB;
	Thu, 23 Mar 2006 23:47:18 +0800 (CST)
Received: from utopia.leeym.com ([127.0.0.1])
 by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 02888-03; Thu, 23 Mar 2006 23:47:12 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id 0FB2FB29CAB; Thu, 23 Mar 2006 23:47:12 +0800 (CST)
Message-Id: <20060323154712.0FB2FB29CAB@utopia.leeym.com>
Date: Thu, 23 Mar 2006 23:47:12 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: pmedwards@eircom.net
Subject: [PATCH] sysutils/pstack: unbreak and update MASTER_SITE
X-Send-Pr-Version: 3.113
X-GNATS-Notify: pmedwards@eircom.net

>Number:         94865
>Category:       ports
>Synopsis:       [PATCH] sysutils/pstack: unbreak and update MASTER_SITE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leeym
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 23 15:50:16 GMT 2006
>Closed-Date:    Sat Apr 15 02:26:01 GMT 2006
>Last-Modified:  Sat Apr 15 02:26:01 GMT 2006
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 21 08:23:04 CST 2006
>Description:
- unbreak this port when OSVERSION >= 600000
- update MASTER_SITES and WWW in pkg-descr
- bump PORTREVISION

Port maintainer (pmedwards@eircom.net) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.2006031421/pstack-1.2.log

>Fix:

--- pstack-1.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/pstack/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	6 Feb 2004 13:12:28 -0000	1.5
+++ Makefile	23 Mar 2006 15:45:48 -0000
@@ -8,8 +8,10 @@
 
 PORTNAME=	pstack
 PORTVERSION=	1.2
+PORTREVISION=	1
 CATEGORIES=	sysutils
-MASTER_SITES=	http://bsd-pstack.sourceforge.net/releases/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	bsd-pstack
 
 MAINTAINER=	pmedwards@eircom.net
 COMMENT=	Retrieve process/core file stack traces
@@ -20,4 +22,11 @@
 MAN1=		pstack.1
 PLIST_FILES=	bin/pstack
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 600000
+post-patch:
+	${REINPLACE_CMD} -e 's/DT_COUNT/DT_BIND_NOW/' ${WRKSRC}/elf.c
+.endif
+
+.include <bsd.port.post.mk>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/sysutils/pstack/pkg-descr,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-descr
--- pkg-descr	26 Nov 2002 11:24:21 -0000	1.3
+++ pkg-descr	23 Mar 2006 15:45:48 -0000
@@ -4,3 +4,5 @@
 
 It's useful for finding out what wedged processes are up to, getting
 profiles of what applications, and just satisfying one's curiosity.
+
+WWW: http://sourceforge.net/projects/bsd-pstack/
--- pstack-1.2_1.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Thu Mar 23 15:52:13 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94865 
Responsible-Changed-From-To: freebsd-ports-bugs->leeym 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Thu Mar 23 16:15:30 UTC 2006 
Responsible-Changed-Why:  
I will take care of this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94865 
State-Changed-From-To: feedback->closed 
State-Changed-By: leeym 
State-Changed-When: Sat Apr 15 02:25:59 UTC 2006 
State-Changed-Why:  
Committed, thanks. 

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