Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24161 Details for
Bug 35457
media-sound/timidity++-2.12.0-r3 fails to compile
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 borkage.
alsa-fix.patch (text/plain), 859 bytes, created by
Brian Harring (RETIRED)
on 2004-01-20 22:57:50 UTC
(
hide
)
Description:
patch to fix alsa-lib 1.0 borkage.
Filename:
MIME Type:
Creator:
Brian Harring (RETIRED)
Created:
2004-01-20 22:57:50 UTC
Size:
859 bytes
patch
obsolete
>diff -ur interface/alsaseq_c.c interface/alsaseq_c.c >--- interface/alsaseq_c.c 2002-01-16 04:21:49.000000000 -0600 >+++ interface/alsaseq_c.c 2004-01-21 00:45:56.019267640 -0600 >@@ -45,6 +45,8 @@ > #endif > #include <signal.h> > >+#define ALSA_PCM_OLD_HW_PARAMS_API >+#define ALSA_PCM_NEW_HW_PARAMS_API > #include <sys/asoundlib.h> > > #include "timidity.h" >diff -ur timidity/alsa_a.c timidity/alsa_a.c >--- timidity/alsa_a.c 2002-01-16 04:15:20.000000000 -0600 >+++ timidity/alsa_a.c 2004-01-21 00:39:51.324709640 -0600 >@@ -41,10 +41,16 @@ > #endif > > /*ALSA header file*/ >+#define ALSA_PCM_OLD_HW_PARAMS_API >+#define ALSA_PCM_NEW_HW_PARAMS_API > #include <sys/asoundlib.h> > > #if defined(SND_LIB_MINOR) >-#define ALSA_LIB SND_LIB_MINOR >+# if SND_LIB_MAJOR==1 >+# define ALSA_LIB 10 >+# else >+# define ALSA_LIB SND_LIB_MINOR >+# endif > #else > #define ALSA_LIB 3 > #endif
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 35457
:
22650
|
22651
|
24161
|
24162