public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/sidplayfp/, media-sound/sidplayfp/files/
@ 2021-12-02  4:43 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-12-02  4:43 UTC (permalink / raw
  To: gentoo-commits

commit:     e73573692da466a260372f147612c7602bd8bf4b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  2 04:42:45 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec  2 04:43:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7357369

media-sound/sidplayfp: add musl patch

Closes: https://bugs.gentoo.org/764113
Thanks-to: ernsteiswuerfel <erhard_f <AT> mailbox.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-sound/sidplayfp/files/sidplayfp-1.4.4-musl-limits.patch | 11 +++++++++++
 media-sound/sidplayfp/sidplayfp-1.4.4.ebuild                  |  9 ++++++++-
 2 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-sound/sidplayfp/files/sidplayfp-1.4.4-musl-limits.patch b/media-sound/sidplayfp/files/sidplayfp-1.4.4-musl-limits.patch
new file mode 100644
index 000000000000..ad810d66f5b5
--- /dev/null
+++ b/media-sound/sidplayfp/files/sidplayfp-1.4.4-musl-limits.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/764113
+--- a/src/IniConfig.cpp
++++ b/src/IniConfig.cpp
+@@ -36,6 +36,7 @@
+ #  include <sys/types.h>
+ #  include <sys/stat.h>  /* mkdir */
+ #  include <dirent.h>    /* opendir */
++#  include <limits.h>
+ #else
+ #  include <windows.h>
+ #endif

diff --git a/media-sound/sidplayfp/sidplayfp-1.4.4.ebuild b/media-sound/sidplayfp/sidplayfp-1.4.4.ebuild
index 40dc1277bbd0..caff4726ef0c 100644
--- a/media-sound/sidplayfp/sidplayfp-1.4.4.ebuild
+++ b/media-sound/sidplayfp/sidplayfp-1.4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -22,11 +22,17 @@ DEPEND="${RDEPEND}
 
 DOCS=( AUTHORS README TODO )
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-1.4.4-musl-limits.patch
+)
+
 src_prepare() {
 	default
+
 	if ! use alsa; then
 		sed -i -e 's:alsa >= 1.0:dIsAbLe&:' configure || die
 	fi
+
 	if ! use pulseaudio; then
 		sed -i -e 's:libpulse-simple >= 1.0:dIsAbLe&:' configure || die
 	fi
@@ -34,5 +40,6 @@ src_prepare() {
 
 src_configure() {
 	export ac_cv_header_linux_soundcard_h=$(usex oss)
+
 	econf
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-02  4:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-02  4:43 [gentoo-commits] repo/gentoo:master commit in: media-sound/sidplayfp/, media-sound/sidplayfp/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox