#1 Port sffile.c to C99
Merged a year ago by fweimer. Opened a year ago by nikic.
rpms/ nikic/denemo c99  into  rawhide

@@ -0,0 +1,20 @@ 

+ diff -up denemo-2.6.0/libs/libsffile/sffile.c.c99 denemo-2.6.0/libs/libsffile/sffile.c

+ --- denemo-2.6.0/libs/libsffile/sffile.c.c99	2023-01-27 11:40:05.030418369 +0100

+ +++ denemo-2.6.0/libs/libsffile/sffile.c	2023-01-27 11:40:34.280667274 +0100

+ @@ -20,6 +20,7 @@

+   *================================================================*/

+  //Interface to Denemo License:  FSF GPL version 3 or later

+  

+ +#include <ctype.h>

+  #include <stdio.h>

+  #include <string.h>

+  #include <stdlib.h>

+ @@ -51,7 +52,7 @@ static void ConvertIllegalChar(char *nam

+  int  ParseSoundfont(char *soundfont, int index, char **name, int *preset, int *bank) {

+    FILE *fp;

+    static SFInfo sf;

+ -  static initialized = FALSE;

+ +  static int initialized = FALSE;

+    int i;

+    int number = 0;

+    if(soundfont) {

file modified
+7 -1
@@ -1,13 +1,15 @@ 

  Summary:	Graphical music notation program

  Name:		denemo

  Version:	2.6.0

- Release:	5%{?dist}

+ Release:	6%{?dist}

  License:	GPLv3+

  Source:		https://ftp.gnu.org/gnu/denemo/denemo-%{version}.tar.gz

  Source1:	%{name}-feta.metainfo.xml

  Source2:	%{name}-emmentaler.metainfo.xml

  Source3:	%{name}-music.metainfo.xml

  Patch1:		%{name}-%{version}-configure.patch

+ # Upstream patch: https://savannah.gnu.org/bugs/index.php?63720

+ Patch2:		%{name}-%{version}-c99.patch

  

  URL: http://www.denemo.org/

  
@@ -93,6 +95,7 @@ 

  %prep

  %setup -q

  %patch1 -p1

+ %patch2 -p1

  

  %build

  autoupdate
@@ -152,6 +155,9 @@ 

  

  

  %changelog

+ * Fri Jan 27 2023 Nikita Popov <npopov@redhat.com> - 2.6.0-6

+ - Port sffile.c to C99

+ 

  * Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-5

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild