Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24222 Details for
Bug 39005
media-sound/ecasound* compilation breakage against alsa-lib-1.0*
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add necessary definitions
ecasound-alsa-fix.patch (text/plain), 1.73 KB, created by
Brian Harring (RETIRED)
on 2004-01-22 01:26:46 UTC
(
hide
)
Description:
patch to add necessary definitions
Filename:
MIME Type:
Creator:
Brian Harring (RETIRED)
Created:
2004-01-22 01:26:46 UTC
Size:
1.73 KB
patch
obsolete
>diff -ur ecasound-2.2.3/libecasound/plugins/audioio_alsa.cpp ecasound-2.2.3-fixed/libecasound/plugins/audioio_alsa.cpp >--- ecasound-2.2.3/libecasound/plugins/audioio_alsa.cpp 2003-04-11 11:58:46.000000000 -0500 >+++ ecasound-2.2.3-fixed/libecasound/plugins/audioio_alsa.cpp 2004-01-22 03:09:57.000000000 -0600 >@@ -26,6 +26,11 @@ > > /* note! kaiv, note to myself: you saved the hwparams change > 'add_hwparams.patch' :) */ >+#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> > > #include <kvu_dbc.h> >diff -ur ecasound-2.2.3/libecasound/plugins/audioio_alsa.h ecasound-2.2.3-fixed/libecasound/plugins/audioio_alsa.h >--- ecasound-2.2.3/libecasound/plugins/audioio_alsa.h 2003-03-03 17:52:31.000000000 -0600 >+++ ecasound-2.2.3-fixed/libecasound/plugins/audioio_alsa.h 2004-01-22 03:10:19.000000000 -0600 >@@ -14,6 +14,11 @@ > #include "samplebuffer.h" > #include "audioio-device.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> > > using namespace std; >diff -ur ecasound-2.2.3/libecasound/plugins/audioio_alsa_named.cpp ecasound-2.2.3-fixed/libecasound/plugins/audioio_alsa_named.cpp >--- ecasound-2.2.3/libecasound/plugins/audioio_alsa_named.cpp 2002-10-15 17:15:03.000000000 -0500 >+++ ecasound-2.2.3-fixed/libecasound/plugins/audioio_alsa_named.cpp 2004-01-22 03:10:41.000000000 -0600 >@@ -22,6 +22,11 @@ > #include <kvu_message_item.h> > #include <kvu_numtostr.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> > > #include "audioio_alsa_named.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 39005
: 24222