From 1a48ca3fecdbb5f1812e5cc2d4e142293744e6d3 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Sat, 26 Mar 2005 20:42:04 +0000 Subject: Make shared object on x86 without -fPIC because the asm isn't PIC safe. Package-Manager: portage-2.0.51.19 --- media-libs/libmpeg3/ChangeLog | 6 +++++- media-libs/libmpeg3/Manifest | 10 +++++----- media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild | 10 ++++++++-- 3 files changed, 18 insertions(+), 8 deletions(-) (limited to 'media-libs') diff --git a/media-libs/libmpeg3/ChangeLog b/media-libs/libmpeg3/ChangeLog index 3c153b72a1fe..339ade25597c 100644 --- a/media-libs/libmpeg3/ChangeLog +++ b/media-libs/libmpeg3/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/libmpeg3 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.30 2005/03/26 04:56:59 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/ChangeLog,v 1.31 2005/03/26 20:42:04 eradicator Exp $ + + 26 Mar 2005; Jeremy Huddleston + libmpeg3-1.5.2-r1.ebuild: + Make shared object on x86 without -fPIC because the asm isn't PIC safe. *libmpeg3-1.5.2-r1 (26 Mar 2005) diff --git a/media-libs/libmpeg3/Manifest b/media-libs/libmpeg3/Manifest index a4d0605326c9..a8ce83fe39ba 100644 --- a/media-libs/libmpeg3/Manifest +++ b/media-libs/libmpeg3/Manifest @@ -1,11 +1,11 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 94834684a070c571c039fa0ae52889e3 ChangeLog 4683 +MD5 3e36843a66b87f015f320172e7a4cbb7 ChangeLog 4843 MD5 e76a83a10bc9f809a7e1da2212554f78 libmpeg3-1.5-r1.ebuild 1417 MD5 f1a2d80d7720b1fb586d7b1d3eb452bd libmpeg3-1.5.1.ebuild 1497 MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 -MD5 dd1b4ae622d95934edc08ea09001f608 libmpeg3-1.5.2-r1.ebuild 2327 +MD5 5dab1a0e57dd4ba97df66b90236304bc libmpeg3-1.5.2-r1.ebuild 2405 MD5 86cf602270d3f2a2e8ca221aeaff11c6 libmpeg3-1.5.2.ebuild 2133 MD5 d3a05866020d3e1f064974f5363c6c53 files/1.5.1-gentoo-mpeg3split.patch 2315 MD5 8c1c4667609bae1089a66ea6c8ee1f28 files/1.5.1-gentoo-p1.patch 1376 @@ -31,7 +31,7 @@ MD5 81b6cc87dac447d9be64d2327bd6193c files/digest-libmpeg3-1.5.2-r1 71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) -iD8DBQFCROuuArHZZzCEUG0RAtHtAJwOJ19u6mK7GB2DPqP6BcoctLm/CgCaA4M3 -/83SjjH9AeoUR5R6o8LAZ60= -=qUxn +iD8DBQFCRclLArHZZzCEUG0RAlMaAJwKOXPV1KKxaWywd0STVso+zoOuawCeMqoY +Fegtni18N8mZu4KQBNF0RcU= +=L6wd -----END PGP SIGNATURE----- diff --git a/media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild b/media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild index 846e7b2c6c9e..c536e7faef59 100644 --- a/media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild +++ b/media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild,v 1.1 2005/03/26 04:56:59 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmpeg3/libmpeg3-1.5.2-r1.ebuild,v 1.2 2005/03/26 20:42:04 eradicator Exp $ inherit flag-o-matic eutils gcc @@ -53,7 +53,13 @@ src_compile() { rm -f ${obj_dir}/*.o &> /dev/null - append-flags -fPIC + # x86 asm is not pic safe + if use x86; then + filter-flags -fPIC + else + append-flags -fPIC + fi + make CC="$(tc-getCC)" ${obj_dir}/libmpeg3.so || die "Failed libmpeg3.so" rm ${obj_dir}/*.o -- cgit v1.2.3-65-gdbad