From 29819e572c069db79075fd6805ce8df4ec5e6828eb69a95accd0f8bb0a11ffd5 Mon Sep 17 00:00:00 2001 From: Michael Gorse Date: Mon, 13 May 2024 14:44:20 +0000 Subject: [PATCH] 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 --- libcuefile-gcc14.patch | 13 +++++++++++++ libcuefile.changes | 7 +++++++ libcuefile.spec | 6 ++++-- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 libcuefile-gcc14.patch diff --git a/libcuefile-gcc14.patch b/libcuefile-gcc14.patch new file mode 100644 index 0000000..f8bcfee --- /dev/null +++ b/libcuefile-gcc14.patch @@ -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); diff --git a/libcuefile.changes b/libcuefile.changes index e05575e..075bdf6 100644 --- a/libcuefile.changes +++ b/libcuefile.changes @@ -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 diff --git a/libcuefile.spec b/libcuefile.spec index b4a6131..d48eb10 100644 --- a/libcuefile.spec +++ b/libcuefile.spec @@ -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 . # # 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