From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/alsaplayer/, media-sound/alsaplayer/files/
Date: Sun, 16 Feb 2025 08:16:58 +0000 (UTC) [thread overview]
Message-ID: <1739693780.f23bdfa87a69f95a61f570c21303794ee1f4dd00.sam@gentoo> (raw)
commit: f23bdfa87a69f95a61f570c21303794ee1f4dd00
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 08:15:35 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 <ats@offog.org>
+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 <mikmod.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ char* my_strdup (char *str)
+ {
+
next reply other threads:[~2025-02-16 8:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-16 8:16 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-13 10:04 [gentoo-commits] repo/gentoo:master commit in: media-sound/alsaplayer/, media-sound/alsaplayer/files/ Miroslav Šulc
2024-09-06 9:42 Miroslav Šulc
2022-07-11 1:15 Sam James
2022-07-10 11:22 David Seifert
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=1739693780.f23bdfa87a69f95a61f570c21303794ee1f4dd00.sam@gentoo \
--to=sam@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