diff options
author | David Seifert <soap@gentoo.org> | 2017-09-05 09:13:35 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-09-05 09:13:35 +0200 |
commit | c019d4cfa38def2e90a8c5707d73c11d532b240d (patch) | |
tree | dc92d68d0bc38f9a037877eff8734892b3f62604 /media-sound/snd/files | |
parent | media-sound/snd: Remove old (diff) | |
download | gentoo-c019d4cfa38def2e90a8c5707d73c11d532b240d.tar.gz gentoo-c019d4cfa38def2e90a8c5707d73c11d532b240d.tar.bz2 gentoo-c019d4cfa38def2e90a8c5707d73c11d532b240d.zip |
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
Diffstat (limited to 'media-sound/snd/files')
-rw-r--r-- | media-sound/snd/files/snd-17.4-undefined-oss_sample_types.patch | 21 |
1 files changed, 21 insertions, 0 deletions
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 000000000000..6199a7b183fd --- /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 + + + |