From nobody@FreeBSD.org  Sat May 15 12:22:01 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EB82F1065674
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 May 2010 12:22:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id DA0A18FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 May 2010 12:22:00 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o4FCM0gO041597
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 May 2010 12:22:00 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o4FCM0mx041596;
	Sat, 15 May 2010 12:22:00 GMT
	(envelope-from nobody)
Message-Id: <201005151222.o4FCM0mx041596@www.freebsd.org>
Date: Sat, 15 May 2010 12:22:00 GMT
From: bf <bf1783@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [PATCH]devel/nasm: update to 2.08.01
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146613
>Category:       ports
>Synopsis:       [PATCH]devel/nasm: update to 2.08.01
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    krion
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 15 12:30:06 UTC 2010
>Closed-Date:    Wed Jun 09 08:56:34 UTC 2010
>Last-Modified:  Wed Jun 09 08:56:34 UTC 2010
>Originator:     bf
>Release:        9-CURRENT amd64
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -x 'old.*' -x 'new.*' -ruN nasm.orig/Makefile nasm/Makefile
--- nasm.orig/Makefile	2010-05-15 06:46:29.000000000 -0400
+++ nasm/Makefile	2010-05-15 08:03:06.000000000 -0400
@@ -6,11 +6,10 @@
 #
 
 PORTNAME=	nasm
-PORTVERSION=	2.07
+PORTVERSION=	2.08.01
 PORTEPOCH=	1
 CATEGORIES=	devel lang
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20sources/${PORTVERSION} \
-		http://www.nasm.us/pub/nasm/releasebuilds/${PORTVERSION}/
+MASTER_SITES=	http://www.nasm.us/pub/nasm/releasebuilds/${PORTVERSION}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-xdoc${EXTRACT_SUFX}
 
 MAINTAINER=	krion@FreeBSD.org
@@ -23,7 +22,7 @@
 
 MAN1=		nasm.1 ndisasm.1 \
 		ldrdf.1 rdf2bin.1 rdf2com.1 rdf2ihx.1 rdf2ith.1 rdf2srec.1 rdfdump.1 rdflib.1 rdx.1
-PORTDOCS=	nasmdoc.txt
+PORTDOCS=	nasmdoc.txt internal.doc
 
 post-install:
 .ifndef(NOPORTDOCS)
@@ -33,4 +32,13 @@
 .	endfor
 .endif
 
+.ifdef(MAINTAINER_MODE)
+USE_PERL5_BUILD=	yes
+
+regression-test test check: build
+	@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \
+		${MAKE_ARGS} test)
+
+.endif
+
 .include <bsd.port.mk>
diff -x 'old.*' -x 'new.*' -ruN nasm.orig/distinfo nasm/distinfo
--- nasm.orig/distinfo	2010-05-15 06:46:29.000000000 -0400
+++ nasm/distinfo	2010-05-15 06:50:23.000000000 -0400
@@ -1,6 +1,6 @@
-MD5 (nasm-2.07.tar.bz2) = d8934231e81874c29374ddef1fbdb1ed
-SHA256 (nasm-2.07.tar.bz2) = ac70ee451c73d742c9ff830502e5f8b1f648b2abffa8fd00944243283ba8e87c
-SIZE (nasm-2.07.tar.bz2) = 779934
-MD5 (nasm-2.07-xdoc.tar.bz2) = ef3c3eeb62f155adf27a7185d603b1dd
-SHA256 (nasm-2.07-xdoc.tar.bz2) = 0f946fc70067cf56d94a8e0db48257f03faa7bcf1e8987cce39b8e0ab128ecf3
-SIZE (nasm-2.07-xdoc.tar.bz2) = 815521
+MD5 (nasm-2.08.01.tar.bz2) = 1e3ebc1289c2be5963571c0937b7a211
+SHA256 (nasm-2.08.01.tar.bz2) = 049b9a1381c0c775a07490f272a57c1802627cbfd6b2d675770b72078bdd8bc6
+SIZE (nasm-2.08.01.tar.bz2) = 782436
+MD5 (nasm-2.08.01-xdoc.tar.bz2) = 7d43e061b32e62c480ea78486f4f355f
+SHA256 (nasm-2.08.01-xdoc.tar.bz2) = 67a5f148b8aa2cbced086493cb99f8a7c5c960bb49bcfc20ad9e2e2a6fe3c948
+SIZE (nasm-2.08.01-xdoc.tar.bz2) = 820135
diff -x 'old.*' -x 'new.*' -ruN nasm.orig/files/patch-output+outelf32.c nasm/files/patch-output+outelf32.c
--- nasm.orig/files/patch-output+outelf32.c	2010-05-15 06:46:29.000000000 -0400
+++ nasm/files/patch-output+outelf32.c	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
---- output/outelf32.c.orig	2008-03-03 16:15:43.564355152 -0500
-+++ output/outelf32.c	2008-03-03 16:21:02.242598895 -0500
-@@ -1605,7 +1605,7 @@
-         the source-file, the n_desc field should be set to the number
-         of remaining stabs
-         */
--        WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12));
-+        WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen);
- 
-         /* this is the stab for the main source file */
-         WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0);
diff -x 'old.*' -x 'new.*' -ruN nasm.orig/files/patch-output+outelf64.c nasm/files/patch-output+outelf64.c
--- nasm.orig/files/patch-output+outelf64.c	2010-05-15 06:46:29.000000000 -0400
+++ nasm/files/patch-output+outelf64.c	1969-12-31 19:00:00.000000000 -0500
@@ -1,11 +0,0 @@
---- output/outelf64.c.orig	2008-03-03 16:15:57.373145096 -0500
-+++ output/outelf64.c	2008-03-03 16:23:30.075070061 -0500
-@@ -1841,7 +1841,7 @@
-         the source-file, the n_desc field should be set to the number
-         of remaining stabs
-         */
--        WRITE_STAB(sptr, fileidx[0], 0, 0, 0, strlen(allfiles[0] + 12));
-+        WRITE_STAB(sptr, fileidx[0], 0, 0, 0, stabstrlen);
- 
-         /* this is the stab for the main source file */
-         WRITE_STAB(sptr, fileidx[mainfileindex], N_SO, 0, 0, 0);


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->krion 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat May 15 12:30:18 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146613 
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Wed Jun 9 08:56:33 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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