From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4D0B8138359 for ; Mon, 5 Oct 2020 14:31:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68783E0919; Mon, 5 Oct 2020 14:31:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D60BE0919 for ; Mon, 5 Oct 2020 14:31:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA68D335D3D for ; Mon, 5 Oct 2020 14:31:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 58866343 for ; Mon, 5 Oct 2020 14:31:50 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1601908305.1c7f58dcf770e00fff1ff516398f38064490edad.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mpd/, media-sound/mpd/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/mpd/files/mpd-0.21.4.init media-sound/mpd/mpd-0.22-r1.ebuild media-sound/mpd/mpd-0.22.ebuild X-VCS-Directories: media-sound/mpd/ media-sound/mpd/files/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 1c7f58dcf770e00fff1ff516398f38064490edad X-VCS-Branch: master Date: Mon, 5 Oct 2020 14:31:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5249553e-f010-4678-bdbd-454afaa11c3c X-Archives-Hash: 1cefe4c1f7345c3e8bd34322f0e6ba93 commit: 1c7f58dcf770e00fff1ff516398f38064490edad Author: Louis Sautier gentoo org> AuthorDate: Mon Oct 5 13:32:01 2020 +0000 Commit: Louis Sautier gentoo 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 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