From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ripperx/, media-sound/ripperx/files/
Date: Sat, 6 Jul 2024 10:05:57 +0000 (UTC) [thread overview]
Message-ID: <1720260348.35d25f36ce62f15dd1b5d76d40f946692f53a032.fordfrog@gentoo> (raw)
commit: 35d25f36ce62f15dd1b5d76d40f946692f53a032
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 6 10:05:42 2024 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Jul 6 10:05:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d25f36
media-sound/ripperx: fixed incompatible pointer + sorted vars
Closes: https://bugs.gentoo.org/919258
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
.../ripperx/files/ripperx-2.7.3-incompatible-pointer.patch | 11 +++++++++++
media-sound/ripperx/ripperx-2.7.3.ebuild | 4 ++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/media-sound/ripperx/files/ripperx-2.7.3-incompatible-pointer.patch b/media-sound/ripperx/files/ripperx-2.7.3-incompatible-pointer.patch
new file mode 100644
index 000000000000..e026df64486d
--- /dev/null
+++ b/media-sound/ripperx/files/ripperx-2.7.3-incompatible-pointer.patch
@@ -0,0 +1,11 @@
+--- a/src/misc_utils.c
++++ b/src/misc_utils.c
+@@ -792,7 +792,7 @@ int create_filenames_from_format(_main_data *main_data)
+ config.mp3_path[i] = 0;
+ if (config.cddb_config.make_directories && config.cddb_config.dir_format_string[0])
+ {
+- rc2 = parse_rx_format_string( &df,
++ rc2 = parse_rx_format_string( (char **)&df,
+ config.cddb_config.dir_format_string, -1,
+ main_data->disc_artist, main_data->disc_title, main_data->disc_year, "" );
+ if ( rc2 < 0 ) {
diff --git a/media-sound/ripperx/ripperx-2.7.3.ebuild b/media-sound/ripperx/ripperx-2.7.3.ebuild
index 1b2d20834a94..998368e6ddc0 100644
--- a/media-sound/ripperx/ripperx-2.7.3.ebuild
+++ b/media-sound/ripperx/ripperx-2.7.3.ebuild
@@ -9,6 +9,7 @@ DESCRIPTION="GTK program to rip CD audio tracks to Ogg, MP3 or FLAC"
HOMEPAGE="https://sourceforge.net/projects/ripperx"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P/x/X}.tar.gz"
+S="${WORKDIR}/${P/x/X}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
@@ -24,12 +25,11 @@ BDEPEND="
virtual/pkgconfig
nls? ( sys-devel/gettext )"
-S="${WORKDIR}/${P/x/X}"
-
PATCHES=(
"${FILESDIR}"/${P}-ceilf-underlink.patch
"${FILESDIR}"/${P}-ldflags.patch
"${FILESDIR}"/${P}-pkgconfig.patch
+ "${FILESDIR}"/${P}-incompatible-pointer.patch
)
src_configure() {
reply other threads:[~2024-07-06 10:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1720260348.35d25f36ce62f15dd1b5d76d40f946692f53a032.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox