summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-06-19 09:19:32 +0000
committerJustin Lecher <jlec@gentoo.org>2011-06-19 09:19:32 +0000
commitc05db4859ecf178739522cf8418b3a56b117a358 (patch)
tree1d8349508a715f0a2a17ba706c125ba76e9962f0 /media-video/gpac
parentNon-Maintainer Version BUmp, #368995 (diff)
downloadgentoo-2-c05db4859ecf178739522cf8418b3a56b117a358.tar.gz
gentoo-2-c05db4859ecf178739522cf8418b3a56b117a358.tar.bz2
gentoo-2-c05db4859ecf178739522cf8418b3a56b117a358.zip
Make it gcc46 resistant, #361077 thanks Vladimir for the patch
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'media-video/gpac')
-rw-r--r--media-video/gpac/ChangeLog5
-rw-r--r--media-video/gpac/gpac-0.4.5-r4.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/media-video/gpac/ChangeLog b/media-video/gpac/ChangeLog
index 8eccf12a4d1f..b3980eb7cbb7 100644
--- a/media-video/gpac/ChangeLog
+++ b/media-video/gpac/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/gpac
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.89 2011/05/16 20:30:53 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/ChangeLog,v 1.90 2011/06/19 09:19:32 jlec Exp $
+
+ 19 Jun 2011; Justin Lecher <jlec@gentoo.org> gpac-0.4.5-r4.ebuild:
+ Make it gcc46 resistant, #361077 thanks Vladimir for the patch
16 May 2011; Alexis Ballier <aballier@gentoo.org> gpac-0.4.5-r4.ebuild:
avoid running wx-config if wxwidgets isnt requested and fix build, again,
diff --git a/media-video/gpac/gpac-0.4.5-r4.ebuild b/media-video/gpac/gpac-0.4.5-r4.ebuild
index 870119582658..494347904e37 100644
--- a/media-video/gpac/gpac-0.4.5-r4.ebuild
+++ b/media-video/gpac/gpac-0.4.5-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.5-r4.ebuild,v 1.7 2011/05/16 20:30:53 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.5-r4.ebuild,v 1.8 2011/06/19 09:19:32 jlec Exp $
inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs
@@ -96,6 +96,9 @@ src_unpack() {
# multilib libdir fix
sed -i -e 's:$(prefix)/lib:$(prefix)/'$(get_libdir)':' Makefile src/Makefile
sed -i -e 's:/lib/gpac:/'$(get_libdir)'/gpac:' configure
+
+ # --warn-common is linker option, not gcc's one
+ sed -i 's/-Wl --warn-common/-Wl,--warn-common/g' configure
}
src_compile() {