mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 03:09:51 +03:00
main/libburn: fix build with gcc 15
This commit is contained in:
parent
0016c47e53
commit
5e603c07fb
2 changed files with 29 additions and 1 deletions
|
@ -9,7 +9,9 @@ arch="all"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
makedepends="linux-headers"
|
makedepends="linux-headers"
|
||||||
subpackages="$pkgname-dev $pkgname-doc"
|
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() {
|
prepare() {
|
||||||
default_prepare
|
default_prepare
|
||||||
|
@ -35,4 +37,5 @@ package() {
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
549cb25310aac5ce445639374d84f0c09fb1fdd70be97479588775e5afcc12dd0655c5bf51bd3f1bf8c06a66b318fd1e709dcfd72845e795ffaf353ea621accd libburn-1.5.6.tar.gz
|
549cb25310aac5ce445639374d84f0c09fb1fdd70be97479588775e5afcc12dd0655c5bf51bd3f1bf8c06a66b318fd1e709dcfd72845e795ffaf353ea621accd libburn-1.5.6.tar.gz
|
||||||
|
a9f327a9fb6572a64440fffed9ad9c201ef9c394fe0d28ef8c4beb8983920928dbc18298020b5906b4c60206d30ed77a855a95c69378b7b05b98805278db6894 gcc15.patch
|
||||||
"
|
"
|
||||||
|
|
25
main/libburn/gcc15.patch
Normal file
25
main/libburn/gcc15.patch
Normal 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;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue