Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 196358 Details for
Bug 276231
media-libs/libmp4v2-1.5.0.1-r2 compiles incorrectly with GCC4.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch that fixes the problem
mp4v2-and-gcc4.patch (text/plain), 1.17 KB, created by
Vladimir Skuratovich
on 2009-07-02 13:31:50 UTC
(
hide
)
Description:
A patch that fixes the problem
Filename:
MIME Type:
Creator:
Vladimir Skuratovich
Created:
2009-07-02 13:31:50 UTC
Size:
1.17 KB
patch
obsolete
>diff -Naur old/files/libmp4v2-1.5.0.1+gcc4.patch new/files/libmp4v2-1.5.0.1+gcc4.patch >--- old/files/libmp4v2-1.5.0.1+gcc4.patch 1970-01-01 03:00:00.000000000 +0300 >+++ new/files/libmp4v2-1.5.0.1+gcc4.patch 2009-07-02 16:04:44.052753753 +0300 >@@ -0,0 +1,18 @@ >+--- mpeg4ip-1.5.0.1/lib/mp4v2/mp4util.h 2006-02-27 22:42:33.000000000 +0200 >++++ new/lib/mp4v2/mp4util.h 2009-07-02 15:55:23.348674938 +0300 >+@@ -217,12 +217,14 @@ >+ } >+ >+ inline u_int32_t STRTOINT32(const char* s) { >++#if 0 >+ #ifdef WORDS_BIGENDIAN >+ return (*(u_int32_t *)s); >+ #else >+ return htonl(*(uint32_t *)s); >+ #endif >+-#if 0 >++#endif >++#if 1 >+ return (s[0] << 24) | (s[1] << 16) | (s[2] << 8) | s[3]; >+ #endif >+ } >diff -Naur old/libmp4v2-1.5.0.1-r2.ebuild new/libmp4v2-1.5.0.1-r2.ebuild >--- old/libmp4v2-1.5.0.1-r2.ebuild 2009-07-02 16:04:03.787572157 +0300 >+++ new/libmp4v2-1.5.0.1-r2.ebuild 2009-07-02 16:12:28.091803263 +0300 >@@ -26,6 +26,7 @@ > > epatch "${FILESDIR}"/${P}+glibc-2.10.patch > epatch "${FILESDIR}"/${P}-configurebashisms.patch >+ epatch "${FILESDIR}"/${P}+gcc4.patch > > # We don't give a damn about these two, just remove the two calls > # so we don't have to have the macros to eautoreconf properly.
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 276231
: 196358