1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

main/libburn: fix build with gcc 15

This commit is contained in:
Celeste 2025-06-24 18:05:02 +00:00
parent 0016c47e53
commit 5e603c07fb
2 changed files with 29 additions and 1 deletions

View file

@ -9,7 +9,9 @@ arch="all"
license="GPL-2.0-or-later"
makedepends="linux-headers"
subpackages="$pkgname-dev $pkgname-doc"
source="https://files.libburnia-project.org/releases/libburn-$_ver.tar.gz"
source="https://files.libburnia-project.org/releases/libburn-$_ver.tar.gz
gcc15.patch
"
prepare() {
default_prepare
@ -35,4 +37,5 @@ package() {
sha512sums="
549cb25310aac5ce445639374d84f0c09fb1fdd70be97479588775e5afcc12dd0655c5bf51bd3f1bf8c06a66b318fd1e709dcfd72845e795ffaf353ea621accd libburn-1.5.6.tar.gz
a9f327a9fb6572a64440fffed9ad9c201ef9c394fe0d28ef8c4beb8983920928dbc18298020b5906b4c60206d30ed77a855a95c69378b7b05b98805278db6894 gcc15.patch
"

25
main/libburn/gcc15.patch Normal file
View file

@ -0,0 +1,25 @@
Patch-Source: https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35282df834a311ead5f113af67d223b3.patch
--
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;
}