Accepting request 1173692 from home:pgajdos

- added patches
  fix build with gcc14
  + libcuefile-gcc14.patch

OBS-URL: https://build.opensuse.org/request/show/1173692
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libcuefile?expand=0&rev=8
This commit is contained in:
Michael Gorse 2024-05-13 14:44:20 +00:00 committed by Git OBS Bridge
parent 4ab4c31389
commit 29819e572c
3 changed files with 24 additions and 2 deletions

13
libcuefile-gcc14.patch Normal file
View File

@ -0,0 +1,13 @@
Index: src/cue_parse.c
===================================================================
--- src/cue_parse.c.orig
+++ src/cue_parse.c
@@ -1508,6 +1508,8 @@ extern int cue_lineno;
extern int yydebug;
extern FILE *cue_yyin;
+void cue_delete_buffer();
+
void yyerror (char *s)
{
fprintf(stderr, "%d: %s\n", cue_lineno, s);

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 13 14:21:57 UTC 2024 - pgajdos@suse.com
- added patches
fix build with gcc14
+ libcuefile-gcc14.patch
-------------------------------------------------------------------
Thu Feb 29 15:57:19 UTC 2024 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libcuefile
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>.
#
# All modifications and additions to the file contributed by third parties
@ -25,10 +25,12 @@ Release: 0
Summary: Library for Working With Cue Sheet (cue) and Table Of Contents (toc) Files
License: GPL-2.0-only
Group: Development/Libraries/C and C++
Url: https://www.musepack.net/
URL: https://www.musepack.net/
Source0: https://files.musepack.net/source/%{name}_%{version}.tar.gz
# PATCH-FIX-OPENSUSE mathmeaning.patch asterios.dramis@gmail.com -- Fix rpm post build error "Program uses operation a <= b <= c, which is not well defined." (based on patch from openSUSE cuetools)
Patch0: mathmeaning.patch
# build with gcc14
Patch1: libcuefile-gcc14.patch
BuildRequires: cmake
%description