From 732a2b498d3bdc34a6803fe2f88b4354f6f171d499358bb60250d495d5395acd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 1 Oct 2024 08:43:24 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libcuefile revision 6262eee49ec4c981112d9aa3a865b20d --- libcuefile-gcc14.patch | 13 +++++++++++++ libcuefile.changes | 13 +++++++++++++ libcuefile.spec | 9 +++++---- 3 files changed, 31 insertions(+), 4 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 0d40d2a..075bdf6 100644 --- a/libcuefile.changes +++ b/libcuefile.changes @@ -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 diff --git a/libcuefile.spec b/libcuefile.spec index 81f293c..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 @@ -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