summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg <zorry@gentoo.org>2012-02-16 17:02:39 +0000
committerMagnus Granberg <zorry@gentoo.org>2012-02-16 17:02:39 +0000
commit268b54df3bd32bcbb363ca41404670101a0786cc (patch)
tree964a3bb7ecd7036598ce019e5f5ef8f75df2e131 /media-sound/mpg123
parentRemove older ~arch 3.x kernels (diff)
downloadgentoo-2-268b54df3bd32bcbb363ca41404670101a0786cc.tar.gz
gentoo-2-268b54df3bd32bcbb363ca41404670101a0786cc.tar.bz2
gentoo-2-268b54df3bd32bcbb363ca41404670101a0786cc.zip
Fix bug 164504 for hardened on x86
(Portage version: 2.1.10.46/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mpg123')
-rw-r--r--media-sound/mpg123/ChangeLog7
-rw-r--r--media-sound/mpg123/mpg123-1.13.4.ebuild7
2 files changed, 10 insertions, 4 deletions
diff --git a/media-sound/mpg123/ChangeLog b/media-sound/mpg123/ChangeLog
index cd9a483ad3c9..941ee50a308b 100644
--- a/media-sound/mpg123/ChangeLog
+++ b/media-sound/mpg123/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/mpg123
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.246 2011/10/09 20:35:09 ssuominen Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/ChangeLog,v 1.247 2012/02/16 17:02:39 zorry Exp $
+
+ 16 Feb 2012; Magnus Granberg <zorry@gentoo.org> mpg123-1.13.4.ebuild:
+ Disable mmx, sse, 3dnow, 3dnowext on hardened x86 bug 164504
09 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> mpg123-1.13.4.ebuild:
Reset dependency_libs to '' in libtool files (libltdl is using them to load
diff --git a/media-sound/mpg123/mpg123-1.13.4.ebuild b/media-sound/mpg123/mpg123-1.13.4.ebuild
index d379122b4ce7..5fb1258aec04 100644
--- a/media-sound/mpg123/mpg123-1.13.4.ebuild
+++ b/media-sound/mpg123/mpg123-1.13.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.13.4.ebuild,v 1.2 2011/10/09 20:35:09 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mpg123/mpg123-1.13.4.ebuild,v 1.3 2012/02/16 17:02:39 zorry Exp $
EAPI=4
inherit toolchain-funcs libtool
@@ -46,6 +46,9 @@ src_configure() {
if [[ $(tc-arch) == amd64 || ${ARCH} == x64-* ]]; then
use sse && _cpu=x86-64
+ elif use x86 && gcc-specs-pie ; then
+ # Don't use any mmx, 3dnow, sse and 3dnowext #bug 164504
+ _cpu=generic_fpu
else
use mmx && _cpu=mmx
use 3dnow && _cpu=3dnow