Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187586 Details for
Bug 265322
=media-sound/wavpack-4.50.1 USE="mmx" fails to build with GCC 4.4 [patch]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to enable GCC 4.4 compilation with USE="mmx"
wavpack-4.50.1-mmx.patch (text/plain), 1.04 KB, created by
Daniel J.
on 2009-04-07 15:18:15 UTC
(
hide
)
Description:
Patch to enable GCC 4.4 compilation with USE="mmx"
Filename:
MIME Type:
Creator:
Daniel J.
Created:
2009-04-07 15:18:15 UTC
Size:
1.04 KB
patch
obsolete
>--- src/wavpack_local.h.orig 2009-04-07 10:34:58.000000000 -0400 >+++ src/wavpack_local.h 2009-04-07 11:03:45.000000000 -0400 >@@ -745,9 +745,17 @@ > > #define _m_paddd(m1, m2) __builtin_ia32_paddd (m1, m2) > #define _m_pcmpeqd(m1, m2) __builtin_ia32_pcmpeqd (m1, m2) >-#define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2) >-#define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2) >-#define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2) >+ >+#if (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) || __GNUC__ > 4 >+# define _m_pslldi(m1, m2) __builtin_ia32_pslldi ((__m64)m1, m2) >+# define _m_psradi(m1, m2) __builtin_ia32_psradi ((__m64)m1, m2) >+# define _m_psrldi(m1, m2) __builtin_ia32_psrldi ((__m64)m1, m2) >+#else >+# define _m_pslldi(m1, m2) __builtin_ia32_pslld (m1, m2) >+# define _m_psradi(m1, m2) __builtin_ia32_psrad (m1, m2) >+# define _m_psrldi(m1, m2) __builtin_ia32_psrld (m1, m2) >+#endif >+ > #define _m_psubd(m1, m2) __builtin_ia32_psubd (m1, m2) > #define _m_punpckhdq(m1, m2) __builtin_ia32_punpckhdq (m1, m2) > #define _m_punpckldq(m1, m2) __builtin_ia32_punpckldq (m1, m2)
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 265322
: 187586