commit 07ad1f820db0d171656a4d0443e2ed76d1b3c759
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Tue Dec 6 12:47:33 2016 +0000
Patch to enable alsa output format
madplay-0.15.2b-enable-alsa-format.patch | 11 +++++++++++
madplay.spec | 6 +++++-
2 files changed, 16 insertions(+), 1 deletion(-)
---
diff --git a/madplay-0.15.2b-enable-alsa-format.patch
b/madplay-0.15.2b-enable-alsa-format.patch
new file mode 100644
index 0000000..33fa3d2
--- /dev/null
+++ b/madplay-0.15.2b-enable-alsa-format.patch
@@ -0,0 +1,11 @@
+--- a/audio.c
++++ b/audio.c
+@@ -69,6 +69,7 @@
+ # if defined(HAVE_LIBAUDIO)
+ { "nas", audio_nas },
+ # endif
++ { "alsa", audio_alsa},
+ { "null", audio_null },
+ { "nul", audio_null }
+ };
+
diff --git a/madplay.spec b/madplay.spec
index 2346cdc..5092e74 100644
--- a/madplay.spec
+++ b/madplay.spec
@@ -1,6 +1,6 @@
Name: madplay
Version: 0.15.2b
-Release: 11%{?dist}
+Release: 12%{?dist}
Summary: MPEG audio decoder and player
License: GPLv2+
@@ -8,6 +8,7 @@ URL:
http://www.underbit.com/products/mad/
Source0:
http://download.sourceforge.net/mad/%{name}-%{version}.tar.gz
Patch0: %{name}-0.15.2b-abxtest-tempfile.patch
Patch1: %{name}-0.15.2b-ucs4.patch
+Patch2: %{name}-0.15.2b-enable-alsa-format.patch
Requires: %{_sbindir}/update-alternatives
BuildRequires: libmad-devel
@@ -70,6 +71,9 @@ fi
%changelog
+* Tue Dec 06 2016 leigh scott <leigh123linux(a)googlemail.com> - 0.15.2b-12
+- Patch to enable alsa output format
+
* Tue Dec 06 2016 leigh scott <leigh123linux(a)googlemail.com> - 0.15.2b-11
- Prepare package for export to Fedora repo
- Fix build flags