Files
gentoo/dev-libs/libburn/files/libburn-1.5.6-c23.patch
Kostadin Shishmanov 1f82b9883f dev-libs/libburn: fix C23 compat
Backport upstream patch [1] to fix building with gcc 15.

[1] https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35

Bug: https://bugs.gentoo.org/943701
Signed-off-by: Kostadin Shishmanov <kocelfc@tutanota.com>
Closes: https://github.com/gentoo/gentoo/pull/39506
Signed-off-by: Daniel Pielmeier <billie@gentoo.org>
2024-11-28 21:09:54 +01:00

27 lines
719 B
Diff

https://bugs.gentoo.org/943701
https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35282df834a311ead5f113af67d223b3
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;
}