pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/nasm Update to 2.07. Set LICENSE.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57a67c31ede9
branches:  trunk
changeset: 396376:57a67c31ede9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 22 21:21:33 2009 +0000

description:
Update to 2.07. Set LICENSE.
Remove code for gcc 2 in pkgsrc Makefile; it required gcc 3.0 anyway.

cl-2.07 Version 2.07

NASM is now under the 2-clause BSD license.

Fix the section type for the .strtab section in the elf64 output format.

Fix the handling of COMMON directives in the obj output format.

New ith and srec output formats; these are variants of the
  bin output format which output Intel hex and Motorola S-records,
  respectively.  See ithfmt and srecfmt.

rdf2ihx replaced with an enhanced rdf2bin, which can output
  binary, COM, Intel hex or Motorola S-records.

The Windows installer now puts the NASM directory first in the
  PATH of the "NASM Shell".

Revert the early expansion behavior of %+ to pre-2.06 behavior:
  %+ is only expanded late.

Yet another Mach-O alignment fix.

Don't delete the list file on errors.  Also, include error and
  warning information in the list file.

Support for 64-bit Mach-O output, see machofmt.

Fix assert failure on certain operations that involve strings with
  high-bit bytes.


cl-2.06 Version 2.06

This release is dedicated to the memory of Charles A. Crayne, long
  time NASM developer as well as moderator of comp.lang.asm.x86 and
  author of the book Serious Assembler.  We miss you, Chuck.

Support for indirect macro expansion (%[...]).  See indmacro.

%pop can now take an argument, see pushpop.

The argument to %use is no longer macro-expanded.  Use
  %[...] if macro expansion is desired.

Support for thread-local storage in ELF32 and ELF64.  See elftls.

Fix crash on %ifmacro without an argument.

Correct the arguments to the POPCNT instruction.

Fix section alignment in the Mach-O format.

Update AVX support to version 5 of the Intel specification.

Fix the handling of accesses to context-local macros from higher
  levels in the context stack.

Treat WAIT as a prefix rather than as an instruction, thereby
  allowing constructs like O16 FSAVE to work correctly.

Support for structures with a non-zero base offset. See struc.

Correctly handle preprocessor token concatenation (see concat)
   involving floating-point numbers.

The PINSR series of instructions have been corrected and
   rationalized.

Removed AMD SSE5, replaced with the new XOP/FMA4/CVT16 (rev 3.03)
   spec.

The ELF backends no longer automatically generate a .comment section.

Add additional "well-known" ELF sections with default attributes.  See
   elfsect.

diffstat:

 devel/nasm/Makefile         |  15 +++++----------
 devel/nasm/PLIST            |   7 ++++++-
 devel/nasm/distinfo         |  12 ++++++------
 devel/nasm/patches/patch-ab |   8 ++++----
 devel/nasm/patches/patch-ac |  10 +++++-----
 5 files changed, 26 insertions(+), 26 deletions(-)

diffs (127 lines):

diff -r 60ab0a395ee5 -r 57a67c31ede9 devel/nasm/Makefile
--- a/devel/nasm/Makefile       Wed Jul 22 21:14:36 2009 +0000
+++ b/devel/nasm/Makefile       Wed Jul 22 21:21:33 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.38 2008/11/05 12:48:35 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2009/07/22 21:21:33 wiz Exp $
 
-DISTNAME=      nasm-2.05.01
+DISTNAME=      nasm-2.07
 CATEGORIES=    devel lang
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=nasm/}
 EXTRACT_SUFX=  .tar.bz2
@@ -8,9 +8,12 @@
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://nasm.sourceforge.net/
 COMMENT=       General-purpose x86 assembler
+# actually only 2-clause BSD
+LICENSE=       modified-bsd
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
 PKG_DESTDIR_SUPPORT=   user-destdir
+AUTO_MKDIRS=           yes
 
 USE_TOOLS+=            gmake makeinfo perl
 GCC_REQD+=             3.0
@@ -24,12 +27,4 @@
 
 MAKE_ENV+=     PERL5=${PERL5:Q}
 
-AUTO_MKDIRS=   yes
-
-.include "../../mk/compiler.mk"
-
-.if !empty(CC_VERSION:Mgcc-2*)
-BUILDLINK_TRANSFORM+=  rm:-std=c99
-.endif
-
 .include "../../mk/bsd.pkg.mk"
diff -r 60ab0a395ee5 -r 57a67c31ede9 devel/nasm/PLIST
--- a/devel/nasm/PLIST  Wed Jul 22 21:14:36 2009 +0000
+++ b/devel/nasm/PLIST  Wed Jul 22 21:21:33 2009 +0000
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST,v 1.10 2009/06/14 17:48:59 joerg Exp $
+@comment $NetBSD: PLIST,v 1.11 2009/07/22 21:21:33 wiz Exp $
 bin/ldrdf
 bin/nasm
 bin/ndisasm
 bin/rdf2bin
 bin/rdf2com
 bin/rdf2ihx
+bin/rdf2ith
+bin/rdf2srec
 bin/rdfdump
 bin/rdflib
 bin/rdx
@@ -14,6 +16,9 @@
 man/man1/ndisasm.1
 man/man1/rdf2bin.1
 man/man1/rdf2com.1
+man/man1/rdf2ihx.1
+man/man1/rdf2ith.1
+man/man1/rdf2srec.1
 man/man1/rdfdump.1
 man/man1/rdflib.1
 man/man1/rdx.1
diff -r 60ab0a395ee5 -r 57a67c31ede9 devel/nasm/distinfo
--- a/devel/nasm/distinfo       Wed Jul 22 21:14:36 2009 +0000
+++ b/devel/nasm/distinfo       Wed Jul 22 21:21:33 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.18 2008/11/05 12:48:35 wiz Exp $
+$NetBSD: distinfo,v 1.19 2009/07/22 21:21:33 wiz Exp $
 
-SHA1 (nasm-2.05.01.tar.bz2) = 5e8b37b7b9ddbbd7ffde4ca674384755061e501b
-RMD160 (nasm-2.05.01.tar.bz2) = ae66431f955a8559eabe9180c1034fa3f80044c8
-Size (nasm-2.05.01.tar.bz2) = 791984 bytes
+SHA1 (nasm-2.07.tar.bz2) = eb4cc984dbc936d02eb11cba5ff98066d7c01fa1
+RMD160 (nasm-2.07.tar.bz2) = 47254263c1ca36b5a29e918955b254e665e960cb
+Size (nasm-2.07.tar.bz2) = 779934 bytes
 SHA1 (patch-aa) = 3f05734250b81898f15fc4323d95ec5606c91cb1
-SHA1 (patch-ab) = 59f3ac5c7a36785a9241fb32ca722661756224dd
-SHA1 (patch-ac) = 35b69553570023019193c9de915913b1994dcd5b
+SHA1 (patch-ab) = 8e3e96c8a04f348fcc94b13efaf00e63b03c5a64
+SHA1 (patch-ac) = 3aba8ed2d6645dbfc538dbd9b4aed6c4bc6aef14
diff -r 60ab0a395ee5 -r 57a67c31ede9 devel/nasm/patches/patch-ab
--- a/devel/nasm/patches/patch-ab       Wed Jul 22 21:14:36 2009 +0000
+++ b/devel/nasm/patches/patch-ab       Wed Jul 22 21:21:33 2009 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ab,v 1.6 2008/11/05 12:48:35 wiz Exp $
+$NetBSD: patch-ab,v 1.7 2009/07/22 21:21:33 wiz Exp $
 
---- doc/Makefile.in.orig       2008-10-29 17:57:33.000000000 +0000
+--- doc/Makefile.in.orig       2009-07-20 05:22:29.000000000 +0000
 +++ doc/Makefile.in
 @@ -8,7 +8,8 @@ prefix         = @prefix@
  exec_prefix   = @exec_prefix@
@@ -30,10 +30,10 @@
  
  # exports
  export srcdir
-@@ -95,7 +96,8 @@ spotless: clean
-       -rm -f nasmdoc*.ps inslist.src
+@@ -96,7 +97,8 @@ spotless: clean
  
  install: all
+       mkdir -p $(INSTALLROOT)$(infodir)
 -      $(INSTALL_DATA) info/* $(INSTALLROOT)$(infodir)
 -      mkdir -p $(INSTALLROOT)$(docdir)/html
 -      $(INSTALL_DATA) html/* $(INSTALLROOT)$(docdir)/html
diff -r 60ab0a395ee5 -r 57a67c31ede9 devel/nasm/patches/patch-ac
--- a/devel/nasm/patches/patch-ac       Wed Jul 22 21:14:36 2009 +0000
+++ b/devel/nasm/patches/patch-ac       Wed Jul 22 21:21:33 2009 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-ac,v 1.4 2008/01/28 05:38:20 bjs Exp $
+$NetBSD: patch-ac,v 1.5 2009/07/22 21:21:33 wiz Exp $
 
---- configure.orig     2008-01-17 15:22:18.000000000 -0500
+--- configure.orig     2009-07-20 05:22:31.000000000 +0000
 +++ configure
-@@ -4498,7 +4498,7 @@ rm -f core conftest.err conftest.$ac_obj
- { echo "$as_me:$LINENO: checking if $CC accepts -Wall" >&5
- echo $ECHO_N "checking if $CC accepts -Wall... $ECHO_C" >&6; }
+@@ -4608,7 +4608,7 @@ rm -f core conftest.err conftest.$ac_obj
+ { $as_echo "$as_me:$LINENO: checking if $CC accepts -Wall" >&5
+ $as_echo_n "checking if $CC accepts -Wall... " >&6; }
   pa_add_cflags__old_cflags="$CFLAGS"
 - CFLAGS="$CFLAGS -Wall"
 + CFLAGS="$CFLAGS -Wall -Wno-char-subscripts"



Home | Main Index | Thread Index | Old Index