From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB6311582EF for ; Sun, 16 Feb 2025 08:17:01 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CDCD8342F94 for ; Sun, 16 Feb 2025 08:17:01 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C719B1102CD; Sun, 16 Feb 2025 08:17:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BD9341102CD for ; Sun, 16 Feb 2025 08:17:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 777A7342F94 for ; Sun, 16 Feb 2025 08:17:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE6272637 for ; Sun, 16 Feb 2025 08:16:58 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1739693780.f23bdfa87a69f95a61f570c21303794ee1f4dd00.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsaplayer/, media-sound/alsaplayer/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/alsaplayer/alsaplayer-0.99.82-r1.ebuild media-sound/alsaplayer/alsaplayer-0.99.82.ebuild media-sound/alsaplayer/files/alsaplayer-0.99.82-c99.patch X-VCS-Directories: media-sound/alsaplayer/files/ media-sound/alsaplayer/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f23bdfa87a69f95a61f570c21303794ee1f4dd00 X-VCS-Branch: master Date: Sun, 16 Feb 2025 08:16:58 +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: c7bc7096-1d9c-45eb-af65-800534ba80bf X-Archives-Hash: 4e7ee50e6460c47f393d8d7d9a646896 commit: f23bdfa87a69f95a61f570c21303794ee1f4dd00 Author: Sam James gentoo org> AuthorDate: Sun Feb 16 08:15:35 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 16 08:16:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f23bdfa8 media-sound/alsaplayer: fix modern C issue, drop LTO filter * Fix modern C issue in configure (backport from upstream) * Drop LTO filter. It was fixed already upstream, per the comment in the ebuild, in 0.99.82, but the filter wasn't dropped in 68ea65bbb1877f4048d9fec2a598505fa17ae469, so do that now. Bug: https://bugs.gentoo.org/860423 Signed-off-by: Sam James gentoo.org> ...0.99.82.ebuild => alsaplayer-0.99.82-r1.ebuild} | 14 +++++------- .../alsaplayer/files/alsaplayer-0.99.82-c99.patch | 26 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild b/media-sound/alsaplayer/alsaplayer-0.99.82-r1.ebuild similarity index 87% rename from media-sound/alsaplayer/alsaplayer-0.99.82.ebuild rename to media-sound/alsaplayer/alsaplayer-0.99.82-r1.ebuild index 05d91e5ed653..fd82a83a669d 100644 --- a/media-sound/alsaplayer/alsaplayer-0.99.82.ebuild +++ b/media-sound/alsaplayer/alsaplayer-0.99.82-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools desktop flag-o-matic xdg +inherit autotools desktop xdg DESCRIPTION="A heavily multi-threaded pluggable audio player" HOMEPAGE="https://alsaplayer.sourceforge.net/" @@ -38,7 +38,10 @@ BDEPEND=" virtual/pkgconfig doc? ( app-text/doxygen )" -PATCHES=( "${FILESDIR}"/${P}-autotools.patch ) +PATCHES=( + "${FILESDIR}"/${P}-autotools.patch + "${FILESDIR}"/${P}-c99.patch +) src_prepare() { default @@ -47,11 +50,6 @@ src_prepare() { } src_configure() { - # -Werror=odr - # https://bugs.gentoo.org/860423 - # https://github.com/alsaplayer/alsaplayer/issues/28 - filter-lto - export ac_cv_prog_HAVE_DOXYGEN=$(usex doc true false) export ac_cv_lib_xosd_xosd_create=$(usex xosd) diff --git a/media-sound/alsaplayer/files/alsaplayer-0.99.82-c99.patch b/media-sound/alsaplayer/files/alsaplayer-0.99.82-c99.patch new file mode 100644 index 000000000000..b01a0eba939e --- /dev/null +++ b/media-sound/alsaplayer/files/alsaplayer-0.99.82-c99.patch @@ -0,0 +1,26 @@ +https://github.com/alsaplayer/alsaplayer/commit/65f5db98f58cd5042454c7f834e3698e8cb153e5 + +From 65f5db98f58cd5042454c7f834e3698e8cb153e5 Mon Sep 17 00:00:00 2001 +From: Adam Sampson +Date: Tue, 21 Jan 2025 14:15:42 +0000 +Subject: [PATCH] Add missing #include in libmikmod configure test. + +GCC 14 treats missing prototypes as an error by default, so this test +would always fail. +--- + m4/libmikmod.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/m4/libmikmod.m4 b/m4/libmikmod.m4 +index e34ab4e0..c33b6f91 100644 +--- a/m4/libmikmod.m4 ++++ b/m4/libmikmod.m4 +@@ -64,6 +64,7 @@ dnl + #include + #include + #include ++#include + + char* my_strdup (char *str) + { +