Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21843 Details for
Bug 34728
alsa 0.98 and 1.0.0_pre3 does not work with artsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix alsa-lib-1.0.0 breakage
alsa-1.0.0-fix.patch (text/plain), 1.02 KB, created by
Brian Harring (RETIRED)
on 2003-12-07 20:21:07 UTC
(
hide
)
Description:
patch to fix alsa-lib-1.0.0 breakage
Filename:
MIME Type:
Creator:
Brian Harring (RETIRED)
Created:
2003-12-07 20:21:07 UTC
Size:
1.02 KB
patch
obsolete
>diff -ur arts-1.1.4-old/flow/audioioalsa.cc arts-1.1.4/flow/audioioalsa.cc >--- arts-1.1.4-old/flow/audioioalsa.cc 2001-11-05 11:29:57.000000000 -0600 >+++ arts-1.1.4/flow/audioioalsa.cc 2003-12-07 18:20:51.975581136 -0600 >@@ -32,6 +32,11 @@ > #ifdef HAVE_LIBASOUND > > #ifdef HAVE_ALSA_ASOUNDLIB_H >+#include <alsa/version.h> >+# if SND_LIB_MAJOR==1 >+# define ALSA_PCM_OLD_HW_PARAMS_API >+# define ALSA_PCM_NEW_HW_PARAMS_API >+# endif > #include <alsa/asoundlib.h> > #elif defined(HAVE_SYS_ASOUNDLIB_H) > #include <sys/asoundlib.h> >diff -ur arts-1.1.4-old/flow/audioioalsa9.cc arts-1.1.4/flow/audioioalsa9.cc >--- arts-1.1.4-old/flow/audioioalsa9.cc 2003-09-02 06:49:22.000000000 -0500 >+++ arts-1.1.4/flow/audioioalsa9.cc 2003-12-07 18:20:37.226823288 -0600 >@@ -35,6 +35,11 @@ > #ifdef HAVE_LIBASOUND2 > > #ifdef HAVE_ALSA_ASOUNDLIB_H >+#include <alsa/verison.h> >+# if SND_LIB_MAJOR==1 >+# define ALSA_PCM_OLD_HW_PARAMS_API >+# define ALSA_PCM_NEW_HW_PARAMS_API >+# endif > #include <alsa/asoundlib.h> > #elif defined(HAVE_SYS_ASOUNDLIB_H) > #include <sys/asoundlib.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34728
: 21843