Hello community,

here is the log from the commit of package sdcc for openSUSE:Factory checked in 
at 2020-10-02 17:35:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sdcc (Old)
 and      /work/SRC/openSUSE:Factory/.sdcc.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sdcc"

Fri Oct  2 17:35:10 2020 rev:17 rq:838796 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sdcc/sdcc.changes        2019-11-21 
12:59:35.922510659 +0100
+++ /work/SRC/openSUSE:Factory/.sdcc.new.4249/sdcc.changes      2020-10-02 
17:35:22.798669803 +0200
@@ -1,0 +2,23 @@
+Wed Sep 30 10:28:26 UTC 2020 - Reinhard Max <[email protected]>
+
+- Update to version 4.0.0
+  * The pdk15 backend now passes the regression tests (both with
+    and without --stack-auto), and is thus considered stable.
+  * New in-development pdk13 backend for Padauk µC with 13-bit
+    wide program memory.
+  * C2X memccpy(), strdup(), strndup().
+  * Better tail call optimization.
+  * Many fixes in the pic14 backend.
+  * C2X u8 character constants.
+  * C2X bool, static_assert, alignof, alignas.
+  * C2X attributes on statements.
+  * C2X attribute declarations.
+  * Support for extended ASCII characters in sdas, sdld.
+  * Compiler support for UCNs and non-ASCII utf8 in identifiers.
+- Fix build by adding sdcc-fixupInlineLabel.patch to fix a
+  potential buffer overflow.
+- Add sdcc-pcode.patch to fix a strict aliasing warning and remove
+  -fno-strict-aliasing from CFLAGS.
+- Remove executable bits from source files to make rpmlint happy.
+
+-------------------------------------------------------------------

Old:
----
  sdcc-src-3.9.0.tar.bz2

New:
----
  sdcc-fixupInlineLabel.patch
  sdcc-pcode.patch
  sdcc-src-4.0.0.tar.bz2

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

Other differences:
------------------
++++++ sdcc.spec ++++++
--- /var/tmp/diff_new_pack.CPwxyj/_old  2020-10-02 17:35:24.742670962 +0200
+++ /var/tmp/diff_new_pack.CPwxyj/_new  2020-10-02 17:35:24.742670962 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package sdcc
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           sdcc
-Version:        3.9.0
+Version:        4.0.0
 Release:        0
 Summary:        Small Device C Compiler
 License:        GPL-2.0-or-later AND GPL-3.0-or-later
@@ -27,6 +27,8 @@
 Source1:        %{name}-rpmlintrc
 Patch0:         0001-Doc-Disable-fallback-to-dvipdfm-remove-non-pdftex-ta.patch
 Patch2:         sdcc_enable_additional_target_libs.patch
+Patch3:         sdcc-fixupInlineLabel.patch
+Patch4:         sdcc-pcode.patch
 BuildRequires:  bison
 %if 0%{?suse_version} >= 1500
 BuildRequires:  libboost_headers-devel
@@ -98,8 +100,12 @@
 rm support/regression/tests/bug3304184.c
 # remove non-free libraries, see doc/README.txt: Licenses
 find device/non-free/ \( -iname \*.h -o -iname \*.c -o -iname \*.S \) -delete
+# remove spurious x bits from source files to make rpmlint happy.
+find -name '*.[ch]' -perm -u=x | xargs chmod a-x
 %patch0 -p1
 %patch2 -p1
+%patch3
+%patch4
 sed -i '1 s@.*@#!/usr/bin/python3@' support/scripts/as2gbmap.py
 
 %build
@@ -107,7 +113,6 @@
 export LATEX2HTML=/usr/bin/true
 export DVIPDFM=/usr/bin/true
 export PYTHON=/usr/bin/python3
-CFLAGS="%{optflags} -fno-strict-aliasing" \
 %configure \
     --docdir=%{_docdir}/sdcc \
     --disable-non-free \

++++++ sdcc-fixupInlineLabel.patch ++++++
--- src/SDCCast.c.orig
+++ src/SDCCast.c
@@ -6962,7 +6962,7 @@ fixupInlineLabel (symbol * sym)
 
   dbuf_init (&dbuf, 128);
   dbuf_printf (&dbuf, "%s_%d", sym->name, inlineState.count);
-  strncpyz (sym->name, dbuf_c_str (&dbuf), SDCC_NAME_MAX);
+  strncpyz (sym->name, dbuf_c_str (&dbuf), SDCC_SYMNAME_MAX);
   dbuf_destroy (&dbuf);
 }
 
++++++ sdcc-pcode.patch ++++++
--- src/pic16/pcodepeep.c.orig
+++ src/pic16/pcodepeep.c
@@ -41,7 +41,7 @@ pCode * pic16_findNextInstruction(pCode
 int pic16_getpCode(char *mnem,int dest);
 int pic16_getpCodePeepCommand(char *cmd);
 void pic16_pBlockMergeLabels(pBlock *pb);
-char *pic16_pCode2str(char *str, int size, pCode *pc);
+char *pic16_pCode2str(char *str, size_t size, pCode *pc);
 //char *pic16_get_op(pCodeOp *pcop,char *buf, size_t buf_size);
 pCodeOp *pic16_popCombine2(pCodeOp *, pCodeOp *, int);
 
++++++ sdcc-src-3.9.0.tar.bz2 -> sdcc-src-4.0.0.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/sdcc/sdcc-src-3.9.0.tar.bz2 
/work/SRC/openSUSE:Factory/.sdcc.new.4249/sdcc-src-4.0.0.tar.bz2 differ: char 
11, line 1


Reply via email to