summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gentoo.org>2004-02-01 12:48:11 +0000
committerBrian Harring <ferringb@gentoo.org>2004-02-01 12:48:11 +0000
commit2eb5cde3bfff9a55694e24ac2e2c6e36826691b5 (patch)
tree48fb32e042d4c2a2f6369c5d9ce7b1bac52fd2f1 /media-libs/libmustux
parentClosing alsalib-1.0 compilation bug (38995) (diff)
downloadhistorical-2eb5cde3bfff9a55694e24ac2e2c6e36826691b5.tar.gz
historical-2eb5cde3bfff9a55694e24ac2e2c6e36826691b5.tar.bz2
historical-2eb5cde3bfff9a55694e24ac2e2c6e36826691b5.zip
Alsalib-1.0 compilation fix (39902).
Diffstat (limited to 'media-libs/libmustux')
-rw-r--r--media-libs/libmustux/ChangeLog8
-rw-r--r--media-libs/libmustux/Manifest9
-rw-r--r--media-libs/libmustux/files/libmustux-0.16.0-alsalib-fix.patch14
-rw-r--r--media-libs/libmustux/libmustux-0.16.0.ebuild11
4 files changed, 34 insertions, 8 deletions
diff --git a/media-libs/libmustux/ChangeLog b/media-libs/libmustux/ChangeLog
index 7bdec47d0bae..f7b9660e05e8 100644
--- a/media-libs/libmustux/ChangeLog
+++ b/media-libs/libmustux/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libmustux
-# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmustux/ChangeLog,v 1.3 2003/12/20 17:00:52 mholzer Exp $
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmustux/ChangeLog,v 1.4 2004/02/01 12:47:54 ferringb Exp $
+
+ 01 Feb 2004; Brian Harring <ferringb@gentoo.org> libmustux-0.16.0.ebuild,
+ files/libmustux-0.16.0-alsalib-fix.patch:
+ Alsalib-1.0 compilation fix (39092)
*libmustux-0.20.0 (20 Dec 2003)
diff --git a/media-libs/libmustux/Manifest b/media-libs/libmustux/Manifest
index f911c56dced7..9a2a296ee6cf 100644
--- a/media-libs/libmustux/Manifest
+++ b/media-libs/libmustux/Manifest
@@ -1,8 +1,9 @@
-MD5 1f29e0e6945a71d36ef857d35235cf38 ChangeLog 675
-MD5 fd3f365b9b4fb83d2cd2b414e0a9955f libmustux-0.16.0.ebuild 679
+MD5 07760a4c8a6414dd12ffabe553699577 libmustux-0.16.0.ebuild 800
+MD5 e2fa49512d81e1b09cbb1a0f8b3ae41a ChangeLog 835
MD5 f4f8ab485e69285e80b0173f77a3ac35 libmustux-0.17.5.ebuild 680
-MD5 d0d7ea03e238a808414b4426394c100f metadata.xml 221
MD5 2ebf783ffb69fdd9d08aa5e9e1318724 libmustux-0.20.0.ebuild 800
+MD5 d0d7ea03e238a808414b4426394c100f metadata.xml 221
MD5 7514c5bcfb2fe30b6d14c9fdd04bae9a files/digest-libmustux-0.16.0 68
-MD5 ef3ef2ffeec56ba14dda1f266a6e4c13 files/digest-libmustux-0.17.5 68
MD5 763510bc391ac7485eb6af4aa4c01412 files/digest-libmustux-0.20.0 68
+MD5 fef0b54e949cfb0fe28896608d517516 files/libmustux-0.16.0-alsalib-fix.patch 480
+MD5 ef3ef2ffeec56ba14dda1f266a6e4c13 files/digest-libmustux-0.17.5 68
diff --git a/media-libs/libmustux/files/libmustux-0.16.0-alsalib-fix.patch b/media-libs/libmustux/files/libmustux-0.16.0-alsalib-fix.patch
new file mode 100644
index 000000000000..27b3d7ef0013
--- /dev/null
+++ b/media-libs/libmustux/files/libmustux-0.16.0-alsalib-fix.patch
@@ -0,0 +1,14 @@
+diff -ur libmustux-0.16.0/MustuxAudioDeviceMapper.hh libmustux-0.16.0-fixed/MustuxAudioDeviceMapper.hh
+--- libmustux-0.16.0/MustuxAudioDeviceMapper.hh 2003-01-02 18:23:01.000000000 -0600
++++ libmustux-0.16.0-fixed/MustuxAudioDeviceMapper.hh 2004-01-22 21:13:42.557717632 -0600
+@@ -2,6 +2,10 @@
+ #define MUSTUXAUDIODEVICEMAPPER_HH
+
+ #ifdef _ALSA
++#include <alsa/version.h>
++#if SND_LIB_MAJOR==1
++# define ALSA_PCM_OLD_HW_PARAMS_API
++#endif
+ #include <alsa/asoundlib.h>
+ #endif
+
diff --git a/media-libs/libmustux/libmustux-0.16.0.ebuild b/media-libs/libmustux/libmustux-0.16.0.ebuild
index 02d69aff6437..0fafd9b84f5e 100644
--- a/media-libs/libmustux/libmustux-0.16.0.ebuild
+++ b/media-libs/libmustux/libmustux-0.16.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmustux/libmustux-0.16.0.ebuild,v 1.3 2003/09/11 01:17:47 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmustux/libmustux-0.16.0.ebuild,v 1.4 2004/02/01 12:47:54 ferringb Exp $
DESCRIPTION="Protux - Libary"
HOMEPAGE="http://www.nognu.org/protux"
@@ -16,6 +16,13 @@ DEPEND="virtual/x11
>=x11-libs/qt-3
media-libs/alsa-lib"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-alsalib-fix.patch || \
+ die "alsalib-1.0 patch failed"
+}
+
src_compile() {
cd ${S}