From: "Louis Sautier" <sbraz@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/, media-sound/mpd/files/
Date: Mon, 5 Oct 2020 14:31:50 +0000 (UTC) [thread overview]
Message-ID: <1601908305.1c7f58dcf770e00fff1ff516398f38064490edad.sbraz@gentoo> (raw)
commit: 1c7f58dcf770e00fff1ff516398f38064490edad
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 5 13:32:01 2020 +0000
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org>
CommitDate: Mon Oct 5 14:31:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c7f58dc
media-sound/mpd: fix io_uring initialization with OpenRC service
Mirror what upstream does with their systemd unit:
https://github.com/MusicPlayerDaemon/MPD/commit/c031f9aa5d7a516af488f4cd4d9c22c4dc748439
Otherwise, io_uring fails to initialize with:
"Failed to initialize io_uring: io_uring_queue_init() failed:
Cannot allocate memory"
https://github.com/MusicPlayerDaemon/MPD/issues/972
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org>
media-sound/mpd/files/mpd-0.21.4.init | 4 +++-
media-sound/mpd/{mpd-0.22.ebuild => mpd-0.22-r1.ebuild} | 0
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/media-sound/mpd/files/mpd-0.21.4.init b/media-sound/mpd/files/mpd-0.21.4.init
index 7f0950c6293..72fede85765 100644
--- a/media-sound/mpd/files/mpd-0.21.4.init
+++ b/media-sound/mpd/files/mpd-0.21.4.init
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
: CFGFILE=${CFGFILE:=/etc/mpd.conf}
@@ -19,6 +19,8 @@ get_config() {
}
extra_started_commands='reload'
+# Required by io_uring
+rc_ulimit="-l 65535"
command=/usr/bin/mpd
command_args=${CFGFILE}
required_files=${CFGFILE}
diff --git a/media-sound/mpd/mpd-0.22.ebuild b/media-sound/mpd/mpd-0.22-r1.ebuild
similarity index 100%
rename from media-sound/mpd/mpd-0.22.ebuild
rename to media-sound/mpd/mpd-0.22-r1.ebuild
next reply other threads:[~2020-10-05 14:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-05 14:31 Louis Sautier [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-22 13:07 [gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/, media-sound/mpd/files/ Sam James
2023-05-18 10:42 Joonas Niilola
2022-12-18 2:33 Sam James
2018-11-15 14:00 Mikle Kolyada
2015-09-16 16:29 Christoph Mende
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=1601908305.1c7f58dcf770e00fff1ff516398f38064490edad.sbraz@gentoo \
--to=sbraz@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