Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-01-23 13:18:08 +00:00
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
--- a/ext/shout_ext.c 2024-01-23 14:02:08.404056464 +0100
+++ b/ext/shout_ext.c 2024-01-23 14:03:47.152700002 +0100
@@ -91,8 +91,8 @@
/* For metadata-related errors, which don't relate to a shout_t, so we can't
* use shout_get_errno or shout_get_error on them.
*/
-static void raise_nonspecific_shout_error(int errno) {
- rb_raise(cShoutError, "%d", errno);
+static void raise_nonspecific_shout_error(int err_no) {
+ rb_raise(cShoutError, "%d", err_no);
}
/*

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -23,3 +23,5 @@ IUSE=""
RDEPEND+=" >=media-libs/libshout-2.0"
DEPEND+=" >=media-libs/libshout-2.0"
PATCHES=( "${FILESDIR}/${P}-errno.patch" )