Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package sdcc for openSUSE:Factory checked in 
at 2026-03-17 19:04:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sdcc (Old)
 and      /work/SRC/openSUSE:Factory/.sdcc.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "sdcc"

Tue Mar 17 19:04:13 2026 rev:24 rq:1339411 version:4.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/sdcc/sdcc.changes        2025-02-22 
19:05:05.503138645 +0100
+++ /work/SRC/openSUSE:Factory/.sdcc.new.8177/sdcc.changes      2026-03-17 
19:05:56.504262691 +0100
@@ -1,0 +2,10 @@
+Mon Mar  9 13:41:54 UTC 2026 - Wojciech Kazubski <[email protected]>
+
+- Fix build for Factory and Tumbleweed
+
+-------------------------------------------------------------------
+Thu Oct 30 00:57:25 UTC 2025 - Wojciech Kazubski <[email protected]>
+
+- Add patch sdcc-fix-for-cpp23.patch to fix build for Tumbleweed
+
+-------------------------------------------------------------------
@@ -384 +394 @@
-Sun Oct  4 2012 Wojciech Kazubski <[email protected]> -3.2.0-13
+Sun Oct  4 12:00:00 UTC 2012 - Wojciech Kazubski <[email protected]> -3.2.0-13
@@ -389 +399 @@
-Mon Sep  3 2012 Wojciech Kazubski <[email protected]>
+Mon Sep  3 12:00:00 UTC 2012 - Wojciech Kazubski <[email protected]>
@@ -394 +404 @@
-Sun Nov 30 2007 Tuukka Pasanen <[email protected]>
+Sun Nov 30 12:00:00 UTC 2007 - Tuukka Pasanen <[email protected]>
@@ -399 +409 @@
-Tue Feb 20 2007 Tuukka Pasanen <[email protected]>
+Tue Feb 20 12:00:00 UTC 2007 - Tuukka Pasanen <[email protected]>

New:
----
  sdcc-fix-for-cpp23.patch

----------(New B)----------
  New:
- Add patch sdcc-fix-for-cpp23.patch to fix build for Tumbleweed
----------(New E)----------

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

Other differences:
------------------
++++++ sdcc.spec ++++++
--- /var/tmp/diff_new_pack.5VMdLH/_old  2026-03-17 19:05:57.112287889 +0100
+++ /var/tmp/diff_new_pack.5VMdLH/_new  2026-03-17 19:05:57.116288055 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sdcc
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define with_non_free 0
 
 Name:           sdcc
@@ -29,6 +30,7 @@
 Source2:        sdccman.pdf
 Patch0:         0001-Doc-Disable-fallback-to-dvipdfm-remove-non-pdftex-ta.patch
 Patch2:         sdcc_enable_additional_target_libs.patch
+Patch3:         sdcc-fix-for-cpp23.patch
 BuildRequires:  bison
 BuildRequires:  fdupes
 BuildRequires:  flex
@@ -38,6 +40,7 @@
 BuildRequires:  gputils
 # documentation
 BuildRequires:  inkscape
+BuildRequires:  libboost_headers-devel >= 1.79
 BuildRequires:  libstdc++-devel
 BuildRequires:  libtool
 BuildRequires:  lyx
@@ -53,9 +56,9 @@
 BuildRequires:  texlive-makeindex
 BuildRequires:  texlive-makeindex-bin
 BuildRequires:  texlive-ulem
+BuildRequires:  texlive-xcolor
 BuildRequires:  zlib-devel
 BuildRequires:  tex(footnote.sty)
-BuildRequires:  libboost_headers-devel >= 1.79
 %if 0%{?suse_version} >= 1500
 BuildRequires:  texlive-footnotehyper
 %endif
@@ -105,6 +108,7 @@
 %patch -P 0 -p1
 %patch -P 2 -p1
 sed -i '1 s@.*@#!%{_bindir}/python3@' support/scripts/as2gbmap.py
+%patch -P 3 -p1
 
 %build
 export PYTHON=%{_bindir}/python3

++++++ sdcc-fix-for-cpp23.patch ++++++
diff -U0 sdcc-4.5.0/ChangeLog.aaaa sdcc-4.5.0/ChangeLog
diff -up sdcc-4.5.0/debugger/mcs51/sdcdb.c.aaaa 
sdcc-4.5.0/debugger/mcs51/sdcdb.c
--- sdcc-4.5.0/debugger/mcs51/sdcdb.c.aaaa      2025-10-28 09:39:57.739763321 
+0100
+++ sdcc-4.5.0/debugger/mcs51/sdcdb.c   2025-10-28 09:43:34.866943029 +0100
@@ -62,7 +62,7 @@ structdef **structs = NULL; /* all struc
 int nLinkrecs = 0;
 linkrec **linkrecs = NULL; /* all linkage editor records */
 context *currCtxt = NULL;
-short fullname = 0;
+bool fullname = 0;
 short showfull = 0;
 char userinterrupt = 0;
 char nointerrupt = 0;
@@ -573,7 +573,7 @@ static void loadModules (void)
         {
           /* for module records do */
           case MOD_REC:
-            currMod = parseModule(loop->line, TRUE);
+            currMod = parseModule(loop->line, true);
             currModName = currMod->name ;
 
             /* search the c source file and load it into buffer */
@@ -1906,7 +1906,7 @@ static void parseCmdLine (int argc, char
 
           if (strcmp(argv[i], "-fullname") == 0)
             {
-              fullname = TRUE;
+              fullname = true;
               continue;
             }
 
diff -up sdcc-4.5.0/debugger/mcs51/sdcdb.h.aaaa 
sdcc-4.5.0/debugger/mcs51/sdcdb.h
--- sdcc-4.5.0/debugger/mcs51/sdcdb.h.aaaa      2025-10-28 09:43:47.593988707 
+0100
+++ sdcc-4.5.0/debugger/mcs51/sdcdb.h   2025-10-28 09:52:52.667771037 +0100
@@ -42,6 +42,7 @@ extern int sdcdbDebug;
 #define Dprintf(f, fs) { }
 #endif
 
+#include <stdbool.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -57,11 +58,6 @@ extern int sdcdbDebug;
 #include "src/SDCCset.h"
 #include "src/SDCChasht.h"
 
-#define TRUE 1
-#define FALSE !TRUE
-
-typedef short bool;
-
 #ifndef max
 #define max(a,b) (a > b ? a : b)
 #endif
@@ -279,7 +275,7 @@ char  *alloccpy(char *,int );
 char *gc_strdup(const char *s);
 srcLine **loadFile (char *name, int *nlines);
 
-extern short fullname;
+extern bool fullname;
 extern int srcMode;
 extern char contsim;
 char *searchDirsFname (char *);
diff -up sdcc-4.5.0/debugger/mcs51/symtab.c.aaaa 
sdcc-4.5.0/debugger/mcs51/symtab.c
--- sdcc-4.5.0/debugger/mcs51/symtab.c.aaaa     2025-10-28 09:53:22.348094541 
+0100
+++ sdcc-4.5.0/debugger/mcs51/symtab.c  2025-10-28 09:54:21.234268464 +0100
@@ -836,7 +836,7 @@ static void lnkCSrc (char *s)
   mod = NULL;
   if (!applyToSet(modules,moduleWithCName,mname,&mod))
     {
-      mod = parseModule(mname, FALSE);
+      mod = parseModule(mname, false);
       mod->c_name = alloccpy(mname,strlen(mname));
       mod->cfullname=searchDirsFname(mod->c_name);
       mod->cLines = loadFile(mod->c_name,&mod->ncLines);
diff -up sdcc-4.5.0/sdas/linksrc/aslink.h.bbbb sdcc-4.5.0/sdas/linksrc/aslink.h
--- sdcc-4.5.0/sdas/linksrc/aslink.h.bbbb       2025-10-30 00:23:23.825421256 
+0100
+++ sdcc-4.5.0/sdas/linksrc/aslink.h    2025-10-30 00:23:45.474714271 +0100
@@ -1312,7 +1312,7 @@ extern  VOID            s19(int i);
 extern  VOID            sflush(void);
 
 /* EEP: lkelf.c */
-extern  VOID            elf();
+extern  VOID            elf(int i);
 
 /* JCF: lkmem.c */
 extern int summary(struct area * xp);

Reply via email to