Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zynaddsubfx for openSUSE:Factory 
checked in at 2026-04-01 19:52:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zynaddsubfx (Old)
 and      /work/SRC/openSUSE:Factory/.zynaddsubfx.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zynaddsubfx"

Wed Apr  1 19:52:40 2026 rev:16 rq:1344105 version:3.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/zynaddsubfx/zynaddsubfx.changes  2023-04-02 
19:18:27.596850058 +0200
+++ /work/SRC/openSUSE:Factory/.zynaddsubfx.new.21863/zynaddsubfx.changes       
2026-04-01 19:54:34.738977421 +0200
@@ -1,0 +2,5 @@
+Wed Apr  1 12:25:13 UTC 2026 - Dave Plater <[email protected]>
+
+- Fix gcc16 build with 0001-Bump-C-version-to-C-20.patch.
+
+-------------------------------------------------------------------

New:
----
  0001-Bump-C-version-to-C-20.patch

----------(New B)----------
  New:
- Fix gcc16 build with 0001-Bump-C-version-to-C-20.patch.
----------(New E)----------

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

Other differences:
------------------
++++++ zynaddsubfx.spec ++++++
--- /var/tmp/diff_new_pack.ZHUdtE/_old  2026-04-01 19:54:35.623014244 +0200
+++ /var/tmp/diff_new_pack.ZHUdtE/_new  2026-04-01 19:54:35.627014411 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zynaddsubfx
 #
-# Copyright (c) 2023 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
@@ -26,6 +26,7 @@
 Source0:        
https://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
 Patch0:         zynaddsubfx-buildflags.patch
 Patch1:         fix-missing-include.patch
+Patch2:         0001-Bump-C-version-to-C-20.patch
 BuildRequires:  cmake
 BuildRequires:  dssi
 BuildRequires:  fltk-devel

++++++ 0001-Bump-C-version-to-C-20.patch ++++++
>From 5f172daeb1ba9472166cade0b45c28b74ec06812 Mon Sep 17 00:00:00 2001
From: Johannes Lorenz <[email protected]>
Date: Tue, 17 Mar 2026 00:12:28 +0100
Subject: [PATCH] Bump C++ version to C++20

We require this change in order to use `std::atomic_flag::test()`.

Changes in this PR:

- Raise C++ version in CMakeLists.txt
- Fix `identity` clashing with `std::identity`
- Fix (probably) unrelated compiler warning in ADnoteUI.fl
---
 src/CMakeLists.txt        | 2 +-
 src/UI/ADnoteUI.fl        | 2 +-
 src/UI/Fl_Osc_TSlider.cpp | 7 +------
 src/UI/WidgetPDial.cpp    | 7 +------
 4 files changed, 4 insertions(+), 14 deletions(-)

Index: b/src/UI/ADnoteUI.fl
===================================================================
--- a/src/UI/ADnoteUI.fl        2022-01-22 03:46:21.000000000 +0200
+++ b/src/UI/ADnoteUI.fl        2026-04-01 13:57:42.799598451 +0200
@@ -248,7 +248,7 @@ else
     };
     nvoice=0;} {}
   }
-  Function {init(int nvoice_, std::string loc_, Fl_Osc_Interface *osc_)} {open
+  Function {init(int nvoice_, std::string loc_, [[maybe_unused]] 
Fl_Osc_Interface *osc_)} {open
   } {
     code {assert(osc_);
 assert(!loc_.empty());
Index: b/src/UI/Fl_Osc_TSlider.cpp
===================================================================
--- a/src/UI/Fl_Osc_TSlider.cpp 2022-01-22 03:46:21.000000000 +0200
+++ b/src/UI/Fl_Osc_TSlider.cpp 2026-04-01 13:57:42.799598451 +0200
@@ -14,13 +14,8 @@
 //Copyright (c) 2015 Christopher Oliver
 //License: GNU GPL version 2 or later
 
-static float identity(float value)
-{
-    return value;
-}
-
 Fl_Osc_TSlider::Fl_Osc_TSlider(int x, int y, int w, int h, const char *label)
-    :Fl_Osc_Slider(x, y, w, h, label), transform(identity)
+    :Fl_Osc_Slider(x, y, w, h, label), transform([](float value) -> float { 
return value; })
 {
     Fl_Group *save = Fl_Group::current();
     tipwin = new TipWin();
Index: b/src/UI/WidgetPDial.cpp
===================================================================
--- a/src/UI/WidgetPDial.cpp    2022-01-22 03:46:21.000000000 +0200
+++ b/src/UI/WidgetPDial.cpp    2026-04-01 13:57:42.799598451 +0200
@@ -21,15 +21,10 @@
 
 //static int numobj = 0;
 
-static float identity(float value)
-{
-    return value;
-}
-
 WidgetPDial::WidgetPDial(int x, int y, int w, int h, const char *label)
     :Fl_Dial(x, y, w, h, label), reset_value(0), integer_step(true),
      use_rounding(false),  oldvalue(0.0f), pos(false), textset(false),
-     transform(identity)
+     transform([](float value) -> float { return value; })
 {
     //cout << "[" << label << "] There are now " << ++numobj << endl;
     Fl_Group *save = Fl_Group::current();
Index: b/src/CMakeLists.txt
===================================================================
--- a/src/CMakeLists.txt        2026-04-01 13:55:04.769451181 +0200
+++ b/src/CMakeLists.txt        2026-04-01 14:00:46.022609790 +0200
@@ -1,4 +1,5 @@
 #checking include/library paths
+set (CMAKE_CXX_STANDARD 20)
 message(STATUS "Checking Include Path" $ENV{CMAKE_INCLUDE_PATH} 
${CMAKE_INCLUDE_PATH})
 message(STATUS "Checking Library Path" $ENV{CMAKE_LIBRARY_PATH} 
${CMAKE_LIBRARY_PATH})
 

++++++ fix-missing-include.patch ++++++
--- /var/tmp/diff_new_pack.ZHUdtE/_old  2026-04-01 19:54:35.691017077 +0200
+++ /var/tmp/diff_new_pack.ZHUdtE/_new  2026-04-01 19:54:35.691017077 +0200
@@ -1,6 +1,7 @@
-diff -Nurp zynaddsubfx-3.0.6-orig/src/Misc/Bank.h 
zynaddsubfx-3.0.6/src/Misc/Bank.h
---- zynaddsubfx-3.0.6-orig/src/Misc/Bank.h     2022-01-22 02:46:21.000000000 
+0100
-+++ zynaddsubfx-3.0.6/src/Misc/Bank.h  2023-04-01 19:18:15.618236407 +0200
+Index: b/src/Misc/Bank.h
+===================================================================
+--- a/src/Misc/Bank.h  2022-01-22 03:46:21.000000000 +0200
++++ b/src/Misc/Bank.h  2026-04-01 13:46:20.084079350 +0200
 @@ -18,6 +18,7 @@
  #include <vector>
  #include "../globals.h"
@@ -9,9 +10,10 @@
  
  //entries in a bank
  #define BANK_SIZE 160
-diff -Nurp zynaddsubfx-3.0.6-orig/src/Nio/MidiIn.h 
zynaddsubfx-3.0.6/src/Nio/MidiIn.h
---- zynaddsubfx-3.0.6-orig/src/Nio/MidiIn.h    2022-01-22 02:46:21.000000000 
+0100
-+++ zynaddsubfx-3.0.6/src/Nio/MidiIn.h 2023-04-01 19:07:55.778860867 +0200
+Index: b/src/Nio/MidiIn.h
+===================================================================
+--- a/src/Nio/MidiIn.h 2022-01-22 03:46:21.000000000 +0200
++++ b/src/Nio/MidiIn.h 2026-04-01 13:46:20.084079350 +0200
 @@ -17,6 +17,7 @@
  #define MIDI_IN_H
  

Reply via email to