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.