Hello community,

here is the log from the commit of package nasm for openSUSE:Factory checked in 
at 2016-03-07 13:25:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nasm (Old)
 and      /work/SRC/openSUSE:Factory/.nasm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nasm"

Changes:
--------
--- /work/SRC/openSUSE:Factory/nasm/nasm.changes        2015-02-27 
11:03:42.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.nasm.new/nasm.changes   2016-03-07 
13:26:08.000000000 +0100
@@ -1,0 +2,42 @@
+Wed Mar  2 11:36:33 UTC 2016 - [email protected]
+
+- new nasm_change_unused.patch to avoid PowerPC build error
+
+-------------------------------------------------------------------
+Tue Mar  1 07:48:37 UTC 2016 - [email protected]
+
+- Update to 2.12
+  * Major fixes to the macho backend (section 7.8); earlier 
+    versions would produce invalid symbols and relocations on a 
+    regular basis.
+  * Support for thread-local storage in Mach-O.
+  * Support for arbitrary sections in Mach-O.
+  * Fix wrong negative size treated as a big positive value passed 
+    into backend causing NASM to crash.
+  * Fix handling of zero-extending unsigned relocations, we have 
+    been printing wrong message and forgot to assign segment with 
+    predefined value before passing it into output format.
+  * Fix potential write of oversized (with size greater than 
+    allowed in output format) relative relocations.
+  * Portability fixes for building NASM with LLVM compiler.
+  * Add support of Codeview version 8 (cv8) debug format for win32 
+    and win64 formats in the COFF backend, see section 7.5.3.
+  * Allow 64-bit outputs in 16/32-bit only backends. Unsigned 
+    64-bit relocations are zero-extended from 32-bits with a 
+    warning (suppressible via -w-zext-reloc); signed 64-bit 
+    relocations are an arror.
+  * Line numbers in list files now correspond to the lines in the 
+    source files, instead of simply being sequential.
+  * There is now an official 64-bit (x64 a.k.a. x86-64) build for 
+    Windows.
+- Changes for 2.11.09
+  * Fix potential stack overwrite in macho32 backend.
+  * Fix relocation records in macho64 backend.
+  * Fix symbol lookup computation in macho64 backend.
+  * Adjust .symtab and .rela.text sections alignments to 8 bytes 
+    in elf64 backed.
+  * Fix section length computation in bin backend which leaded in 
+    incorrect relocation records.
+- Update build dependencies
+
+-------------------------------------------------------------------

Old:
----
  nasm-2.11.08.tar.xz

New:
----
  nasm-2.12.tar.xz
  nasm_change_unused.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nasm.spec ++++++
--- /var/tmp/diff_new_pack.dLPrwI/_old  2016-03-07 13:26:09.000000000 +0100
+++ /var/tmp/diff_new_pack.dLPrwI/_new  2016-03-07 13:26:09.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package nasm
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,19 @@
 
 
 Name:           nasm
-Version:        2.11.08
+Version:        2.12
 Release:        0
 Summary:        Netwide Assembler (An x86 Assembler)
 License:        BSD-2-Clause
 Group:          Development/Languages/Other
 Url:            http://www.nasm.us/
 Source:         
http://www.nasm.us/pub/nasm/releasebuilds/%{version}/nasm-%{version}.tar.xz
+Patch1:         nasm_change_unused.patch
+BuildRequires:  asciidoc
 BuildRequires:  fdupes
+BuildRequires:  groff
 BuildRequires:  makeinfo
+BuildRequires:  xmlto
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -36,6 +40,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %package doc
 Summary:        Documentation for Nasm
@@ -56,8 +61,7 @@
 touch -r ./ver.c.stamp ./ver.c
 %configure
 make %{?_smp_mflags} all
-
-make -C doc %{?_smp_mflags} html info nasmdoc.ps nasmdoc.txt
+make %{?_smp_mflags} -C doc html info nasmdoc.ps nasmdoc.txt
 
 %install
 install -d -m 755 %{buildroot}%{_prefix}/bin
@@ -75,22 +79,42 @@
 install -m 644 doc/html/* %{buildroot}%{_docdir}/nasm/html
 install -m 644 ndisasm.1 nasm.1 rdoff/*.1 %{buildroot}%{_mandir}/man1
 install -m 644 doc/info/* %{buildroot}%{_infodir}
-%fdupes -s %{buildroot}%/*
+%fdupes -s %{buildroot}%
 
 %post doc
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
-%postun doc
+%preun doc
 %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
 
 %files
 %defattr(-,root,root)
-%{_bindir}/*
-%doc %{_mandir}/man1/*.1.gz
+%{_bindir}/ldrdf
+%{_bindir}/nasm
+%{_bindir}/ndisasm
+%{_bindir}/rdf2bin
+%{_bindir}/rdf2com
+%{_bindir}/rdf2ihx
+%{_bindir}/rdf2ith
+%{_bindir}/rdf2srec
+%{_bindir}/rdfdump
+%{_bindir}/rdflib
+%{_bindir}/rdx
+%{_mandir}/man1/ldrdf.1%{ext_man}
+%{_mandir}/man1/nasm.1%{ext_man}
+%{_mandir}/man1/ndisasm.1%{ext_man}
+%{_mandir}/man1/rdf2bin.1%{ext_man}
+%{_mandir}/man1/rdf2com.1%{ext_man}
+%{_mandir}/man1/rdf2ihx.1%{ext_man}
+%{_mandir}/man1/rdf2ith.1%{ext_man}
+%{_mandir}/man1/rdf2srec.1%{ext_man}
+%{_mandir}/man1/rdfdump.1%{ext_man}
+%{_mandir}/man1/rdflib.1%{ext_man}
+%{_mandir}/man1/rdx.1%{ext_man}
 
 %files doc
 %defattr(-,root,root)
 %doc %{_docdir}/nasm
-%doc %{_infodir}/nasm*
+%{_infodir}/nasm*
 
 %changelog

++++++ nasm-2.11.08.tar.xz -> nasm-2.12.tar.xz ++++++
++++ 42373 lines of diff (skipped)

++++++ nasm_change_unused.patch ++++++
From: Michel Normand <[email protected]>
Subject: nasm change unused
Date: Wed, 02 Mar 2016 12:38:37 +0100

nasm change _unused to xunused to avoid conflict
when building on PowerPC

Signed-off-by: Michel Normand <[email protected]>
---
 compiler.h        |    4 ++--
 output/outmacho.c |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Index: nasm-2.12/compiler.h
===================================================================
--- nasm-2.12.orig/compiler.h
+++ nasm-2.12/compiler.h
@@ -82,9 +82,9 @@
 #endif
 
 #ifdef __GNUC__
-# define _unused       __attribute__((unused))
+# define xunused       __attribute__((unused))
 #else
-# define _unused
+# define xunused
 #endif
 
 /* Some versions of MSVC have these only with underscores in front */
Index: nasm-2.12/output/outmacho.c
===================================================================
--- nasm-2.12.orig/output/outmacho.c
+++ nasm-2.12/output/outmacho.c
@@ -301,7 +301,7 @@ static uint64_t rel_padcnt = 0;
     ALIGN(x, fmt.ptrsize)      /* align x to output format width */
 
 static void debug_reloc (struct reloc *);
-static void debug_section_relocs (struct section *) _unused;
+static void debug_section_relocs (struct section *) xunused;
 
 static struct section *get_section_by_name(const char *segname,
                                            const char *sectname)

Reply via email to