summaryrefslogtreecommitdiff
path: root/dev-libs/libburn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-29 02:06:03 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-29 02:06:03 +0000
commit2a3c08f4647671d17f534a5dbd8bd45e11c90ea2 (patch)
tree67ecd2d13b251a03c4834bdec638d301818901eb /dev-libs/libburn
parenta2148b9fab4c83209816a49f091d70873b19881d (diff)
gentoo auto-resync : 29:11:2024 - 02:06:03
Diffstat (limited to 'dev-libs/libburn')
-rw-r--r--dev-libs/libburn/Manifest3
-rw-r--r--dev-libs/libburn/files/libburn-1.5.6-c23.patch26
-rw-r--r--dev-libs/libburn/libburn-1.5.6-r1.ebuild9
3 files changed, 33 insertions, 5 deletions
diff --git a/dev-libs/libburn/Manifest b/dev-libs/libburn/Manifest
index 6c574f513073..f329e06581f7 100644
--- a/dev-libs/libburn/Manifest
+++ b/dev-libs/libburn/Manifest
@@ -1,3 +1,4 @@
+AUX libburn-1.5.6-c23.patch 719 BLAKE2B ec36199721d463e36342cfc621f0f26e20e84cb6a7af65fa6a00f254f2a8f173bcfd03b3038071429d75f25da230e014a041f265589b3b03ce7a4300665f9dbc SHA512 c2e9f8d6d59ab720c6aad986b09eca3e391824745af4398b39811f65fbe62ce9b34413face61f7644ab6cacf8dc3b7107b1d29ca7c08f1ec98860eed97eb5fea
DIST libburn-1.5.6.tar.gz 995353 BLAKE2B 2c4b2e0a191c2a02327177bc5acd418d14a0c6eb9de065de171b0c4240a8bd7746ab2fd775fa1f0433bc1fe98dd47620524ec2954f4aa0f2015557cf881a5d3f SHA512 549cb25310aac5ce445639374d84f0c09fb1fdd70be97479588775e5afcc12dd0655c5bf51bd3f1bf8c06a66b318fd1e709dcfd72845e795ffaf353ea621accd
-EBUILD libburn-1.5.6-r1.ebuild 1037 BLAKE2B 91ec3579e75f6999e9755120399363303d499ce75a4295779aad3a11bf018b1b6fbc4b25c102493ffd29d76d8bc4d281e69b5ffc3d688e1d14c228905069677e SHA512 1bada708cf6bb114ebcfc9fdcdb632b9209945a5ef12cc8716c7a0d7d6ed33441e970e76c850dab7a46bb0ebf6821593b13ded3bfadbc87fb5d12adc08625b95
+EBUILD libburn-1.5.6-r1.ebuild 1032 BLAKE2B c44f294bc962fcbd9bf93877b6b4d803f77200f014b3564ab35bceaea66ec74468eb875afa93d35762fef6d63ed533acfec272d3c46b5b2cee527952af467f5a SHA512 db75df6ca9730ec74ad31b193643ff6904742db4e15f8ac0158acdaa202d244294ef502d0a46b0dcd7112520f558a2a91a293551445f858faabe27b6865a02de
MISC metadata.xml 244 BLAKE2B 81e7bffb2ab3a3015b9a90bb48d0f62a65b55840b50a77f41b24961c3d9f682405c866b25a88c900785d60f669e60791607921808b988ab3ae525e31933e6067 SHA512 d4a328a1ed124445554a4a6f16cd5d9021314f6f4634c9e2866a68ca318220889554603e405c7aba69e9135cb5848de9bbf361f923fd3c0a5a6c803345351b93
diff --git a/dev-libs/libburn/files/libburn-1.5.6-c23.patch b/dev-libs/libburn/files/libburn-1.5.6-c23.patch
new file mode 100644
index 000000000000..c324e25ed6ef
--- /dev/null
+++ b/dev-libs/libburn/files/libburn-1.5.6-c23.patch
@@ -0,0 +1,26 @@
+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;
+ }
diff --git a/dev-libs/libburn/libburn-1.5.6-r1.ebuild b/dev-libs/libburn/libburn-1.5.6-r1.ebuild
index caa8712f3c7b..b184b5fcda08 100644
--- a/dev-libs/libburn/libburn-1.5.6-r1.ebuild
+++ b/dev-libs/libburn/libburn-1.5.6-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools flag-o-matic
+inherit autotools
DESCRIPTION="Open-source library for reading, mastering and writing optical discs"
HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wiki/Libburn"
@@ -21,6 +21,10 @@ DEPEND="
${RDEPEND}
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5.6-c23.patch
+)
+
src_prepare() {
default
@@ -29,9 +33,6 @@ src_prepare() {
}
src_configure() {
- # bug #943701
- append-cflags -std=gnu17
-
econf \
$(use_enable static-libs static) \
--disable-ldconfig-at-install \