Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package audacity for openSUSE:Factory 
checked in at 2025-06-18 15:57:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/audacity (Old)
 and      /work/SRC/openSUSE:Factory/.audacity.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "audacity"

Wed Jun 18 15:57:58 2025 rev:130 rq:1286499 version:3.7.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/audacity/audacity.changes        2025-06-11 
16:28:28.585355167 +0200
+++ /work/SRC/openSUSE:Factory/.audacity.new.19631/audacity.changes     
2025-06-18 16:03:19.633988634 +0200
@@ -1,0 +2,6 @@
+Tue Jun 17 20:19:44 UTC 2025 - Konstantin Voinov <k...@kott.no-ip.biz>
+
+- Add Use-full-function-prototypes-in-libnyquist.patch fixing build
+  with gcc-15
+
+-------------------------------------------------------------------

New:
----
  Use-full-function-prototypes-in-libnyquist.patch

----------(New B)----------
  New:
- Add Use-full-function-prototypes-in-libnyquist.patch fixing build
  with gcc-15
----------(New E)----------

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

Other differences:
------------------
++++++ audacity.spec ++++++
--- /var/tmp/diff_new_pack.l10HGZ/_old  2025-06-18 16:03:20.702032844 +0200
+++ /var/tmp/diff_new_pack.l10HGZ/_new  2025-06-18 16:03:20.706033010 +0200
@@ -36,6 +36,7 @@
 # PATCH-FIX-UPSTREAM audacity-no_return_in_nonvoid.patch - Fix false positive 
errors Two new gcc10 ones ignoring assert
 Patch1:         audacity-no_return_in_nonvoid.patch
 # PATCH-FIX-OPENSUSE vst-system-path.patch - search fo vsts in /usr/lib64 in 
x86_64 and ARM system
+Patch2:         Use-full-function-prototypes-in-libnyquist.patch
 Patch3:         lib64-plugins-default-path.patch
 BuildRequires:  cmake >= 3.16
 BuildRequires:  desktop-file-utils
@@ -125,6 +126,7 @@
 %setup -q -n %{name}-Audacity-%{version}
 %patch -P 0 -p1
 %patch -P 1 -p1
+%patch -P 2 -p1
 
 %ifarch x86_64 aarch64
 %patch -P 3 -p1

++++++ Use-full-function-prototypes-in-libnyquist.patch ++++++
>From f2085f63327507c586ed8cb42c2ea15c16359129 Mon Sep 17 00:00:00 2001
From: Dmitry Makarenko <kryk...@gmail.com>
Date: Sun, 15 Jun 2025 19:54:09 +0300
Subject: [PATCH] Use full function prototypes in libnyquist

Fixes compilation on GCC15.1
---
 lib-src/libnyquist/nyquist/cmt/midifile.c | 40 ++---------------------
 1 file changed, 2 insertions(+), 38 deletions(-)

diff --git a/lib-src/libnyquist/nyquist/cmt/midifile.c 
b/lib-src/libnyquist/nyquist/cmt/midifile.c
index 878441a5980f..01168bd7d044 100644
--- a/lib-src/libnyquist/nyquist/cmt/midifile.c
+++ b/lib-src/libnyquist/nyquist/cmt/midifile.c
@@ -23,12 +23,8 @@
 #include "string.h"
 
 #define MIDIFILE_ERROR -1
-
-#ifdef PROTOTYPES
 #define NOARGS void
-#else
-#define NOARGS
-#endif
+
 
 /* public stuff */
 extern int abort_flag;
@@ -38,7 +34,6 @@ void (*Mf_starttrack)(NOARGS) = 0;
 void (*Mf_endtrack)(NOARGS) = 0;
 int (*Mf_getc)(NOARGS) = 0;
 void (*Mf_eot)(NOARGS) = 0;
-#ifdef PROTOTYPES
 void (*Mf_error)(char *) = 0;
 void (*Mf_header)(int,int,int) = 0;
 void (*Mf_on)(int,int,int) = 0;
@@ -58,27 +53,6 @@ void (*Mf_tempo)(int) = 0;
 void (*Mf_keysig)(int,int) = 0;
 void (*Mf_sqspecific)(int,char*) = 0;
 void (*Mf_text)(int,int,char*) = 0;
-#else
-void (*Mf_error)() = 0;
-void (*Mf_header)() = 0;
-void (*Mf_on)() = 0;
-void (*Mf_off)() = 0;
-void (*Mf_pressure)() = 0;
-void (*Mf_controller)() = 0;
-void (*Mf_pitchbend)() = 0;
-void (*Mf_program)() = 0;
-void (*Mf_chanpressure)() = 0;
-void (*Mf_sysex)() = 0;
-void (*Mf_arbitrary)() = 0;
-void (*Mf_metamisc)() = 0;
-void (*Mf_seqnum)() = 0;
-void (*Mf_smpte)() = 0;
-void (*Mf_tempo)() = 0;
-void (*Mf_timesig)() = 0;
-void (*Mf_keysig)() = 0;
-void (*Mf_sqspecific)() = 0;
-void (*Mf_text)() = 0;
-#endif
 
 int Mf_nomerge = 0;             /* 1 => continue'ed system exclusives are */
                                 /* not collapsed. */
@@ -100,7 +74,6 @@ static void sysex(NOARGS), msginit(NOARGS);
 static int egetc(NOARGS);
 static int msgleng(NOARGS);
 
-#ifdef PROTOTYPES
 static int readmt(char*,int);
 static long to32bit(int,int,int,int);
 static int to16bit(int,int);
@@ -109,15 +82,6 @@ static void badbyte(int);
 static void metaevent(int);
 static void msgadd(int);
 static void chanmessage(int,int,int);
-#else
-static long to32bit();
-static int to16bit();
-static void mferror();
-static void badbyte();
-static void metaevent();
-static void msgadd();
-static void chanmessage();
-#endif
 
 static int midifile_error;
 
@@ -128,7 +92,7 @@ midifile()              /* The only non-static function in 
this file. */
         midifile_error = 0;
 
         if ( Mf_getc == 0 ) {
-                mferror("mf.h() called without setting Mf_getc"); 
+                mferror("mf.h() called without setting Mf_getc");
                 return;
         }
         ntrks = readheader();

Reply via email to