diff options
-rw-r--r-- | media-libs/libmpeg2/ChangeLog | 5 | ||||
-rw-r--r-- | media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff | 11 | ||||
-rw-r--r-- | media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild | 5 |
3 files changed, 19 insertions, 2 deletions
diff --git a/media-libs/libmpeg2/ChangeLog b/media-libs/libmpeg2/ChangeLog index e0a88bd953fb..77bfd8dde575 100644 --- a/media-libs/libmpeg2/ChangeLog +++ b/media-libs/libmpeg2/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-libs/libmpeg2 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.28 2004/07/01 07:59:16 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/ChangeLog,v 1.29 2004/07/09 22:32:52 hansmi Exp $ + + 10 Jul 2004; Michael Hanselmann <hansmi@gentoo.org> libmpeg2-0.4.0b.ebuild: + Fixed a compilation-issue with gcc 3.4. Bug #51964. 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> libmpeg2-0.4.0b.ebuild: diff --git a/media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff b/media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff new file mode 100644 index 000000000000..f4007c065d52 --- /dev/null +++ b/media-libs/libmpeg2/files/gcc34-inline-fix-0.4.0b.diff @@ -0,0 +1,11 @@ +--- libmpeg2/cpu_accel.c.orig 2004-07-10 00:25:35.477608630 +0200 ++++ libmpeg2/cpu_accel.c 2004-07-10 00:25:56.794588961 +0200 +@@ -127,7 +127,7 @@ + } + + #ifdef ARCH_PPC +-static inline uint32_t arch_accel (void) ++static uint32_t arch_accel (void) + { + static RETSIGTYPE (* oldsig) (int); + diff --git a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild index 33b667be405f..e13b193acf82 100644 --- a/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild +++ b/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild,v 1.11 2004/07/01 07:59:16 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg2/libmpeg2-0.4.0b.ebuild,v 1.12 2004/07/09 22:32:52 hansmi Exp $ inherit eutils libtool flag-o-matic @@ -31,6 +31,9 @@ src_unpack() { -e 's:OPT_CFLAGS=\"$CFLAGS -mcpu=.*\":OPT_CFLAGS=\"$CFLAGS\":g' \ configure || die "sed configure failed" + # Fix a compilation-error with gcc 3.4. Bug #51964. + ( cd "${S}" && epatch "${FILESDIR}/gcc34-inline-fix-${PV}.diff" ) + epatch "${FILESDIR}/altivec-fix-${PV}.diff" autoreconf } |