Sync from SUSE:SLFO:Main libcuefile revision 6262eee49ec4c981112d9aa3a865b20d

This commit is contained in:
Adrian Schröter 2024-10-01 08:43:24 +02:00
parent 4c402a096d
commit 732a2b498d
3 changed files with 31 additions and 4 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,16 @@
-------------------------------------------------------------------
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
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
-------------------------------------------------------------------
Sun Jul 7 00:39:42 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

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
@ -52,8 +54,7 @@ libcuefile is a library for working with Cue Sheet (cue) and Table of Contents
(toc) files.
%prep
%setup -q -n %{name}_%{version}
%patch0
%autosetup -p0 -n %{name}_%{version}
# Fix rpmlint error "spurious-executable-perm"
chmod 644 AUTHORS COPYING README