SHA256
1
0
forked from pool/libburn

2 Commits

3 changed files with 37 additions and 1 deletions

28
libburn-1.5.6-c23.patch Normal file
View File

@@ -0,0 +1,28 @@
bugs.gentoo.org/943701
dev.lovelyhq.com/libburnia/libburn/commit/d537f9d
From d537f9dd35282df834a311ead5f113af67d223b3 Mon Sep 17 00:00:00 2001
From: Thomas Schmitt <scdbackup@gmx.net>
Date: Tue, 26 Nov 2024 23:02:03 +0100
Subject: [PATCH] Bug fix: Faulty signal handler prototype spoiled compilation
under C23
---
test/poll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/poll.c b/test/poll.c
index 660f384..cd5ff90 100644
--- a/test/poll.c
+++ b/test/poll.c
@@ -14,7 +14,7 @@ static struct burn_drive_info *drives;
static unsigned int n_drives;
int NEXT;
-static void catch_int ()
+static void catch_int (int signum)
{
NEXT = 1;
}

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 8 17:35:12 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add libburn-1.5.6-c23.patch from upstream to fix gcc15 compile
time error
-------------------------------------------------------------------
Mon Jun 26 15:21:45 UTC 2023 - Dave Plater <davejplater@gmail.com>

View File

@@ -28,6 +28,8 @@ URL: http://libburnia-project.org/
Source0: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz
Source1: http://files.libburnia-project.org/releases/%{name}-%{version}.tar.gz.asc
Source2: %{name}.keyring
# PATCH-FIX-UPSTREAM
Patch1: libburn-1.5.6-c23.patch
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: pkgconfig
@@ -63,7 +65,7 @@ CD, DVD, BD (Blu-Ray) and also offers a facility for reading data blocks from
its drives without using the normal block device I/O.
%prep
%autosetup -n %{name}-%{basever}
%autosetup -n %{name}-%{basever} -p1
%build
%configure --disable-static