pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/nasm



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Aug  8 18:35:10 UTC 2020

Modified Files:
        pkgsrc/devel/nasm: Makefile PLIST distinfo
        pkgsrc/devel/nasm/patches: patch-Makefile.in patch-doc_Makefile.in

Log Message:
nasm: Update to 2.15.03

C.1.1 Version 2.15.03

     * Add instructions from the Intel Instruction Set Extensions and
       Future Features Programming Reference, June 2020. This includes
       AVX5512 bfloat16, AVX512 mask intersect, and Intel Advanced Matrix
       Extensions (AMX).
     * Support for bfloat16 floating-point constants. See [5]section 3.4.6
       and [6]section 6.3.
     * Properly display warnings in preprocess-only mode.
     * Fix copy-and-paste of examples from the PDF documentation.
     * Debug information now properly reflect the line numbers of macro
       invocations (unless declared .nolist).
     * Fix excessive alignment of sections in the coff/win32/win64 output
       formats when the user-specified alignment is less than the default
       alignment for the section or section type.
     * Fix explicit token pasting (%+, [7]section 4.1.4) for the cases
       where one or more parts result from empty token expansion,
       resulting in %+ tokens at the beginning or end, or multiple ones in
       a row.
     * Fix macro label capture (%00, [8]section 4.3.7).
     * Much better documentation for the MASM compatiblity package, %use
       masm (see [9]section 6.5).
     * Fix LEA without square brackets, for MASM compatibility.
     * Portability fixes.

C.1.2 Version 2.15.02

     * Fix miscompilation when building with clang.
     * Add db-empty warning class, see [10]section 2.1.26.
     * Fix the dependencies in the MSVC NMAKE makefile (Mkfiles/msvc.mak).
     * Some documentation improvements and cleanups.
     * Fix the handling of macro parameter ranges (%{:}), including with
       brace-enclosed original arguments.

C.1.3 Version 2.15.01

     * Fix building the documentation from the release archive. For 2.15,
       the user has to do make warnings manually in the main directory in
       order to be able to build the documentation, which means Perl needs
       to be installed on the system.
     * Add instructions for Intel Control Flow Enforcement Technology
       (CET).

C.1.4 Version 2.15

     * The comparison and booleanizing operators can now be used in any
       expression context, not just %if. See [11]section 3.5.
     * New operator ? ... :. See [12]section 3.5.1.
     * Signed shift operators <<< and >>>. See [13]section 3.5.9.
     * The MASM DUP syntax for data definitions is now supported, in a
       somewhat enhanced form. See [14]section 3.2.1.
     * Warn for strange legacy behavior regarding empty arguments in
       multi-line macro expansion, but try to match legacy behavior in
       most cases. Legacy behavior can be disabled with the directive
       %pragma preproc sane_empty_expansion, see [15]section 4.3 and
       [16]section 4.10.1.
     * A much more sensible limit to expression evaluation depth. The
       previously defined limit would rarely trigger before NASM died with
       a stack overrun error on most systems. See [17]section 2.1.31.
     * The state of warnings can now be saved and restored via the
       [WARNING PUSH] and [WARNING POP] directives. See [18]section 7.13.
     * The sectalign on|off switch does not affect an explicit directive.
       See [19]section 5.10.2.
     * Added configure option to enable building with profiling
       (--enable-profiling).
     * Attempt to support of long path names, up to 32767 of UTF-16
       characters, on Windows.
     * Fixed 'mismatch in operand sizes' error in the MOVDDUP, CMPXCHG8B
       and CMPXCHG16B instructions.
     * Improved error messages in the string transformation routine.
     * Removed obsolete gnu-elf-extensions warning about 8- and 16-bit
       relocation generation. See [20]section 8.9.8
     * Added group aliases for all prefixed warnings. See [21]section
       2.1.26.
     * Allowed building with MSVC versions older than 1700.
     * Added implicitly sized versions of the K... instructions, which
       allows the K... instructions to be specified without a size suffix
       as long as the operands are sized.
     * Added -L option for additional listing information. See [22]section
       2.1.4.
     * Added some warnings for obsolete instructions for a specified CPU.
     * Deprecated -hf and -y options. Use -h instead.
     * Made DWARF as the default debug format for ELF.
     * Added %pragma list options... to set or clear listing options (see
       opt-L).
     * Allowed immediate syntax for LEA instruction (ignore operand size
       completely).
     * Added limited functionality MASM compatibility package. See
       [23]section 6.5.
     * Add single-line macros aliases using %defalias or %idefalias. These
       behave like a kind of "symbolic links" for single-line macros. See
       [24]section 4.1.10 and clear.
     * Added support for stringify, nostrip, evaluating, and greedy
       single-line macro arguments. See [25]section 4.1.1.
     * Unused single-line macro arguments no longer need to have a
       specified name. See [26]section 4.1.1.
     * Added conditional comma operator %,. See [27]section 4.1.11.
     * Changed private namespace from __foo__ to __?foo?__, so a user
       namespace starting from underscore is now clean from symbols. For
       backwards compatibility, the previous names are defined as aliases;
       see [28]section 4.1.10, [29]section 4.11.3 and [30]chapter 5.
     * Added support of ELF weak symbols and external references. See
       [31]section 8.9.5.
     * Changed the behavior of the EXTERN keyword and introduced REQUIRED
       keyword. See [32]section 7.6.
     * Added %ifusable and %ifusing directives. See [33]chapter 6.
     * Made various performance improvements and stability fixes in macro
       preprocessor engine.
     * Improved NASM error handling and cleaned up error messages.
     * Many, many bug fixes.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/devel/nasm/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/nasm/PLIST
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/nasm/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/nasm/patches/patch-Makefile.in \
    pkgsrc/devel/nasm/patches/patch-doc_Makefile.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/nasm/Makefile
diff -u pkgsrc/devel/nasm/Makefile:1.63 pkgsrc/devel/nasm/Makefile:1.64
--- pkgsrc/devel/nasm/Makefile:1.63     Sun Jan 26 17:31:00 2020
+++ pkgsrc/devel/nasm/Makefile  Sat Aug  8 18:35:10 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2020/01/26 17:31:00 rillig Exp $
+# $NetBSD: Makefile,v 1.64 2020/08/08 18:35:10 nia Exp $
 
-DISTNAME=      nasm-2.14.02
-PKGREVISION=   1
+DISTNAME=      nasm-2.15.03
 CATEGORIES=    devel lang
 MASTER_SITES=  http://www.nasm.us/pub/nasm/releasebuilds/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tar.xz
@@ -11,8 +10,8 @@ HOMEPAGE=     https://www.nasm.us/
 COMMENT=       General-purpose x86 assembler
 LICENSE=       2-clause-bsd
 
-BUILD_DEPENDS+=        asciidoc-[0-9]*:../../textproc/asciidoc
-BUILD_DEPENDS+=        xmlto-[0-9]*:../../textproc/xmlto
+TOOL_DEPENDS+= asciidoc-[0-9]*:../../textproc/asciidoc
+TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
 
 USE_TOOLS+=            gmake makeinfo perl
 GNU_CONFIGURE=         yes
@@ -23,7 +22,9 @@ BUILD_TARGET=         everything
 INSTALL_TARGET=                install_everything
 TEST_TARGET=           test
 
-MAKE_ENV+=     PERL5=${PERL5:Q}
+MAKE_FLAGS+=   PERL5=${PERL5:Q}
+MAKE_FLAGS+=   INSTALL_DATA=${INSTALL_DATA:Q}
+MAKE_FLAGS+=   INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
 
 CTF_SUPPORTED= no # https://smartos.org/bugview/OS-6510
 

Index: pkgsrc/devel/nasm/PLIST
diff -u pkgsrc/devel/nasm/PLIST:1.12 pkgsrc/devel/nasm/PLIST:1.13
--- pkgsrc/devel/nasm/PLIST:1.12        Thu May 18 21:44:42 2017
+++ pkgsrc/devel/nasm/PLIST     Sat Aug  8 18:35:10 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2017/05/18 21:44:42 adam Exp $
+@comment $NetBSD: PLIST,v 1.13 2020/08/08 18:35:10 nia Exp $
 bin/ldrdf
 bin/nasm
 bin/ndisasm
@@ -25,6 +25,7 @@ share/doc/nasm/html/local.css
 share/doc/nasm/html/nasmdo10.html
 share/doc/nasm/html/nasmdo11.html
 share/doc/nasm/html/nasmdo12.html
+share/doc/nasm/html/nasmdo13.html
 share/doc/nasm/html/nasmdoc.css
 share/doc/nasm/html/nasmdoc0.html
 share/doc/nasm/html/nasmdoc1.html

Index: pkgsrc/devel/nasm/distinfo
diff -u pkgsrc/devel/nasm/distinfo:1.32 pkgsrc/devel/nasm/distinfo:1.33
--- pkgsrc/devel/nasm/distinfo:1.32     Sat Jan  5 00:01:32 2019
+++ pkgsrc/devel/nasm/distinfo  Sat Aug  8 18:35:10 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.32 2019/01/05 00:01:32 adam Exp $
+$NetBSD: distinfo,v 1.33 2020/08/08 18:35:10 nia Exp $
 
-SHA1 (nasm-2.14.02.tar.xz) = 7e9cb20d49ca279c72125b2701b3457c9d1609a5
-RMD160 (nasm-2.14.02.tar.xz) = 66565559559b9e9f555dde629a5035d21deabc4f
-SHA512 (nasm-2.14.02.tar.xz) = c7a228095f37321d57f2813d04f58ee66949e8f81fc49ef6c4ecd391301e308217583ce1a265d4fe8c13d54b5b9c72aeb132caa3caee36e31b6555fbfff34c81
-Size (nasm-2.14.02.tar.xz) = 827620 bytes
-SHA1 (patch-Makefile.in) = d16a4aecb10006463efa6fa564d4d1300225f140
-SHA1 (patch-doc_Makefile.in) = ddf0738421f3160fb9db143f631ecf5ea8ed4a89
+SHA1 (nasm-2.15.03.tar.xz) = 7cb89bb12f80eb016038da9716e814987ef57d00
+RMD160 (nasm-2.15.03.tar.xz) = 7a36dac68c7eb6cb0baafe84dd7a4565ae172e3b
+SHA512 (nasm-2.15.03.tar.xz) = be98e8e0a3b5f5296bc941a7bbcbf44c4084c65d11aed60d17a803b9647d59bd14ec06e780ac22c4bbe8869625eb8e6139d18a88e25310edfce0fe0fc0172950
+Size (nasm-2.15.03.tar.xz) = 984060 bytes
+SHA1 (patch-Makefile.in) = 30f8292c622e86e870427be0ca530ccb8dc3feaa
+SHA1 (patch-doc_Makefile.in) = 0baf4cb8ce01403fbe93b3168d7bc00472cbcb61

Index: pkgsrc/devel/nasm/patches/patch-Makefile.in
diff -u pkgsrc/devel/nasm/patches/patch-Makefile.in:1.3 pkgsrc/devel/nasm/patches/patch-Makefile.in:1.4
--- pkgsrc/devel/nasm/patches/patch-Makefile.in:1.3     Tue Dec 18 09:24:33 2018
+++ pkgsrc/devel/nasm/patches/patch-Makefile.in Sat Aug  8 18:35:10 2020
@@ -1,10 +1,10 @@
-$NetBSD: patch-Makefile.in,v 1.3 2018/12/18 09:24:33 adam Exp $
+$NetBSD: patch-Makefile.in,v 1.4 2020/08/08 18:35:10 nia Exp $
 
 Use correct tools.
 
---- Makefile.in.orig   2018-11-07 21:44:06.000000000 +0000
+--- Makefile.in.orig   2020-07-18 01:04:39.000000000 +0000
 +++ Makefile.in
-@@ -36,7 +36,7 @@ AR           = @AR@
+@@ -37,7 +37,7 @@ AR           = @AR@
  RANLIB                = @RANLIB@
  STRIP         = @STRIP@
  
@@ -13,22 +13,3 @@ Use correct tools.
  PERLFLAGS     = -I$(srcdir)/perllib -I$(srcdir)
  RUNPERL         = $(PERL) $(PERLFLAGS)
  
-@@ -344,12 +344,12 @@ nsis: nsis/nasm.nsi nsis/arch.nsh nsis/v
- manpages: nasm.1 ndisasm.1
- 
- install: nasm$(X) ndisasm$(X)
--      $(MKDIR) $(DESTDIR)$(bindir)
--      $(INSTALL_PROGRAM) nasm$(X) $(DESTDIR)$(bindir)/nasm$(X)
--      $(INSTALL_PROGRAM) ndisasm$(X) $(DESTDIR)$(bindir)/ndisasm$(X)
--      $(MKDIR) $(DESTDIR)$(mandir)/man1
--      $(INSTALL_DATA) $(srcdir)/nasm.1 $(DESTDIR)$(mandir)/man1/nasm.1
--      $(INSTALL_DATA) $(srcdir)/ndisasm.1 $(DESTDIR)$(mandir)/man1/ndisasm.1
-+      $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)
-+      $(BSD_INSTALL_PROGRAM) nasm$(X) $(DESTDIR)$(bindir)/nasm$(X)
-+      $(BSD_INSTALL_PROGRAM) ndisasm$(X) $(DESTDIR)$(bindir)/ndisasm$(X)
-+      $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(mandir)/man1
-+      $(BSD_INSTALL_MAN) $(srcdir)/nasm.1 $(DESTDIR)$(mandir)/man1/nasm.1
-+      $(BSD_INSTALL_MAN) $(srcdir)/ndisasm.1 $(DESTDIR)$(mandir)/man1/ndisasm.1
- 
- clean:
-       for d in . $(SUBDIRS) $(XSUBDIRS); do \
Index: pkgsrc/devel/nasm/patches/patch-doc_Makefile.in
diff -u pkgsrc/devel/nasm/patches/patch-doc_Makefile.in:1.3 pkgsrc/devel/nasm/patches/patch-doc_Makefile.in:1.4
--- pkgsrc/devel/nasm/patches/patch-doc_Makefile.in:1.3 Tue Dec 18 09:24:33 2018
+++ pkgsrc/devel/nasm/patches/patch-doc_Makefile.in     Sat Aug  8 18:35:10 2020
@@ -1,12 +1,12 @@
-$NetBSD: patch-doc_Makefile.in,v 1.3 2018/12/18 09:24:33 adam Exp $
+$NetBSD: patch-doc_Makefile.in,v 1.4 2020/08/08 18:35:10 nia Exp $
 
 Use correct paths and tools.
 Do not build nasmdoc.pdf.
 Avoid cp -u, it is not portable.
 
---- doc/Makefile.in.orig       2018-11-07 21:44:06.000000000 +0000
+--- doc/Makefile.in.orig       2020-07-18 01:04:07.000000000 +0000
 +++ doc/Makefile.in
-@@ -18,7 +18,7 @@ INSTALL              = @INSTALL@
+@@ -20,7 +20,7 @@ INSTALL              = @INSTALL@
  INSTALL_PROGRAM       = @INSTALL_PROGRAM@
  INSTALL_DATA  = @INSTALL_DATA@
  
@@ -15,33 +15,32 @@ Avoid cp -u, it is not portable.
  
  PDFOPT                = @PDFOPT@
  
-@@ -32,7 +32,7 @@ CP_UF                = cp -ufv
+@@ -40,8 +40,8 @@ XZFILES         = @XZFILES@
  HTMLAUX               = nasmdoc.css local.css nasmlogw.png
  
- SRCS          = nasmdoc.src inslist.src changes.src version.src
--OUT           = html nasmdoc.txt nasmdoc.pdf
-+OUT           = html nasmdoc.txt
+ SRCS          = nasmdoc.src inslist.src changes.src warnings.src version.src
+-OUT           = html nasmdoc.txt nasmdoc.pdf $(XZFILES)
+-XZOUT           = nasmdoc.pdf.xz
++OUT           = html nasmdoc.txt $(XZFILES)
++XZOUT           =
  
  .SUFFIXES:
  .SUFFIXES: .pfa .ph
-@@ -45,7 +45,7 @@ inslist.src: inslist.pl ../x86/insns.dat
- .PHONY: html
+@@ -57,7 +57,7 @@ inslist.src: inslist.pl ../x86/insns.dat
+ 
  html: $(HTMLAUX)
-       $(MKDIR) -p html
+       $(MKDIR_P) html
 -      for f in $(HTMLAUX); do $(CP_UF) "$(srcdir)/$$f" html/; done
 +      for f in $(HTMLAUX); do $(CP_F) "$(srcdir)/$$f" html/; done
        $(MAKE) html/nasmdoc0.html
  
  RDSRC = $(PERL) $(srcdir)/rdsrc.pl -I$(srcdir)/
-@@ -84,7 +84,7 @@ spotless: clean
-       -$(RM_F) *.hlp nasmdoc.txt *.inf *.pdf *.dvi
- 
- install: all
--      $(MKDIR) -p $(DESTDIR)$(htmldir)
--      $(INSTALL_DATA) html/* $(DESTDIR)$(htmldir)
--      $(MKDIR) -p $(DESTDIR)$(docdir)
+@@ -116,7 +116,7 @@ install: all
+       $(MKDIR_P) $(DESTDIR)$(htmldir)
+       $(INSTALL_DATA) html/* $(DESTDIR)$(htmldir)
+       $(MKDIR_P) $(DESTDIR)$(docdir)
 -      $(INSTALL_DATA) nasmdoc.pdf nasmdoc.txt $(DESTDIR)$(docdir)
-+      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(htmldir)
-+      $(BSD_INSTALL_DATA) html/* $(DESTDIR)$(htmldir)
-+      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(docdir)
-+      $(BSD_INSTALL_DATA) nasmdoc.txt $(DESTDIR)$(docdir)
++      $(INSTALL_DATA) nasmdoc.txt $(DESTDIR)$(docdir)
+ 
+ #
+ # Dummy rules that changes make behavior



Home | Main Index | Thread Index | Old Index