From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/snd/files/, media-sound/snd/
Date: Tue, 5 Sep 2017 07:14:30 +0000 (UTC) [thread overview]
Message-ID: <1504595615.c019d4cfa38def2e90a8c5707d73c11d532b240d.soap@gentoo> (raw)
commit: c019d4cfa38def2e90a8c5707d73c11d532b240d
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 5 07:13:35 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep 5 07:13:35 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c019d4cf
media-sound/snd: Unconditionally compile `oss_sample_types` function
Closes: https://bugs.gentoo.org/show_bug.cgi?id=621758
Package-Manager: Portage-2.3.8, Repoman-2.3.3
.../files/snd-17.4-undefined-oss_sample_types.patch | 21 +++++++++++++++++++++
media-sound/snd/snd-17.4.ebuild | 3 ++-
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/media-sound/snd/files/snd-17.4-undefined-oss_sample_types.patch b/media-sound/snd/files/snd-17.4-undefined-oss_sample_types.patch
new file mode 100644
index 00000000000..6199a7b183f
--- /dev/null
+++ b/media-sound/snd/files/snd-17.4-undefined-oss_sample_types.patch
@@ -0,0 +1,21 @@
+Always compile the `oss_sample_types` function
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=621758
+
+--- a/audio.c
++++ b/audio.c
+@@ -743,7 +743,6 @@
+ }
+
+
+-#if (!HAVE_ALSA)
+ static int oss_sample_types(int ur_dev, mus_sample_t *val)
+ {
+ int fd, samp_types = 0, sys, ind;
+@@ -774,7 +773,6 @@
+ val[0] = (mus_sample_t)(ind - 1);
+ return(MUS_NO_ERROR);
+ }
+-#endif
+
+
+
diff --git a/media-sound/snd/snd-17.4.ebuild b/media-sound/snd/snd-17.4.ebuild
index 3a2a2027b8f..5b746a352c8 100644
--- a/media-sound/snd/snd-17.4.ebuild
+++ b/media-sound/snd/snd-17.4.ebuild
@@ -44,7 +44,8 @@ REQUIRED_USE="
?? ( ruby s7 )"
PATCHES=(
- "${FILESDIR}/${PN}-17.4-portaudio.patch"
+ "${FILESDIR}"/${PN}-17.4-portaudio.patch
+ "${FILESDIR}"/${PN}-17.4-undefined-oss_sample_types.patch
)
pkg_setup() {
next reply other threads:[~2017-09-05 7:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 7:14 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-09-05 7:14 [gentoo-commits] repo/gentoo:master commit in: media-sound/snd/files/, media-sound/snd/ 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=1504595615.c019d4cfa38def2e90a8c5707d73c11d532b240d.soap@gentoo \
--to=soap@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