diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2004-11-14 18:11:03 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2004-11-14 18:11:03 +0000 |
commit | 37952fecc93d9728486c9111d4cf5c9aa989c683 (patch) | |
tree | 18a6edd85ba87553bd9da58c708336e2ed0e3a4f /kde-base/arts | |
parent | Version bump for #70521; marked ~amd64. (Manifest recommit) (diff) | |
download | gentoo-2-37952fecc93d9728486c9111d4cf5c9aa989c683.tar.gz gentoo-2-37952fecc93d9728486c9111d4cf5c9aa989c683.tar.bz2 gentoo-2-37952fecc93d9728486c9111d4cf5c9aa989c683.zip |
Alsa endian fix
Diffstat (limited to 'kde-base/arts')
-rw-r--r-- | kde-base/arts/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/arts/arts-1.3.1.ebuild | 4 | ||||
-rw-r--r-- | kde-base/arts/files/arts-1.3.1-alsa-bigendian.patch | 15 |
3 files changed, 22 insertions, 3 deletions
diff --git a/kde-base/arts/ChangeLog b/kde-base/arts/ChangeLog index d3f05075847c..30c1054259f9 100644 --- a/kde-base/arts/ChangeLog +++ b/kde-base/arts/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/arts # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.124 2004/11/07 23:29:27 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/ChangeLog,v 1.125 2004/11/14 18:11:03 lu_zero Exp $ + + 14 Nov 2004; Luca Barbato <lu_zero@gentoo.org> + +files/arts-1.3.1-alsa-bigendian.patch, arts-1.3.1.ebuild: + Make arts use the proper alsa default on bigendian 08 Nov 2004; Joseph Jezak <josejx@gentoo.org> arts-1.3.1.ebuild: Marked ppc stable. diff --git a/kde-base/arts/arts-1.3.1.ebuild b/kde-base/arts/arts-1.3.1.ebuild index ae34b4a828ea..b21511de4a70 100644 --- a/kde-base/arts/arts-1.3.1.ebuild +++ b/kde-base/arts/arts-1.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.3.1.ebuild,v 1.10 2004/11/10 06:12:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/arts/arts-1.3.1.ebuild,v 1.11 2004/11/14 18:11:03 lu_zero Exp $ inherit kde flag-o-matic eutils set-kdedir 3.3 @@ -32,7 +32,7 @@ DEPEND="alsa? ( media-libs/alsa-lib virtual/alsa ) src_unpack() { kde_src_unpack epatch ${FILESDIR}/1.3.0-jack-configure.in.in.patch - + epatch ${FILESDIR}/${P}-alsa-bigendian.patch kde_sandbox_patch ${S}/soundserver # for the configure.in.in patch, for some reason it's not automatically picked up # rm -f $S/configure diff --git a/kde-base/arts/files/arts-1.3.1-alsa-bigendian.patch b/kde-base/arts/files/arts-1.3.1-alsa-bigendian.patch new file mode 100644 index 000000000000..c4dc0754c29f --- /dev/null +++ b/kde-base/arts/files/arts-1.3.1-alsa-bigendian.patch @@ -0,0 +1,15 @@ +diff -ruN arts-1.3.1.orig/flow/audioioalsa.cc arts-1.3.1/flow/audioioalsa.cc +--- arts-1.3.1.orig/flow/audioioalsa.cc 2004-11-14 17:58:25.343403280 +0100 ++++ arts-1.3.1/flow/audioioalsa.cc 2004-11-14 17:54:27.951492336 +0100 +@@ -114,7 +114,11 @@ + */ + m_card = snd_defaults_pcm_card(); //!! need interface !! + m_device = snd_defaults_pcm_device(); //!! ++#ifdef WORDS_BIGENDIAN ++ m_format = SND_PCM_SFMT_S16_BE; ++#else + m_format = SND_PCM_SFMT_S16_LE; ++#endif + m_bufferMode = block; //block/stream (stream mode doesn't work yet) + + if(m_card >= 0) { |