diff --git a/meta-filesystems/recipes-filesystems/burnia/libburn/0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch b/meta-filesystems/recipes-filesystems/burnia/libburn/0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch new file mode 100644 index 0000000000..6061352cb7 --- /dev/null +++ b/meta-filesystems/recipes-filesystems/burnia/libburn/0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch @@ -0,0 +1,27 @@ +From d537f9dd35282df834a311ead5f113af67d223b3 Mon Sep 17 00:00:00 2001 +From: Thomas Schmitt +Date: Tue, 26 Nov 2024 23:02:03 +0100 +Subject: [PATCH] Bug fix: Faulty signal handler prototype spoiled compilation + under C23 + +Upstream-Status: Backport [https://dev.lovelyhq.com/libburnia/libburn/commit/d537f9dd35282df834a311ead5f113af67d223b3] +--- + 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; + } +-- +2.34.1 + diff --git a/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb b/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb index e0f6664ab3..e84a60a543 100644 --- a/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb +++ b/meta-filesystems/recipes-filesystems/burnia/libburn_1.5.6.bb @@ -5,7 +5,9 @@ LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88 \ file://COPYRIGHT;md5=a91b9b862895b64e68e5b321873c9111" -SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz" +SRC_URI = "http://files.libburnia-project.org/releases/${BP}.tar.gz \ + file://0001-Bug-fix-Faulty-signal-handler-prototype-spoiled-comp.patch" + SRC_URI[sha256sum] = "7295491b4be5eeac5e7a3fb2067e236e2955ffdc6bbd45f546466edee321644b" inherit autotools pkgconfig lib_package