summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-12-20 11:13:12 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-12-20 11:13:12 +0000
commitdacebe79ab443832618d51693cc27d48296f6dda (patch)
tree6054e0262d6ddb9bbe6a086635e9dbe5c8752816 /sci-libs
parentVersion bump to 4.3pre12 - bug #196961. Fix building of 4.2 with jdk 1.6 - bu... (diff)
downloadgentoo-2-dacebe79ab443832618d51693cc27d48296f6dda.tar.gz
gentoo-2-dacebe79ab443832618d51693cc27d48296f6dda.tar.bz2
gentoo-2-dacebe79ab443832618d51693cc27d48296f6dda.zip
Added fix to enable proper arch detection for pentium M chips.
(Portage version: 2.1.4_rc10)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/blas-atlas/ChangeLog6
-rw-r--r--sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/sci-libs/blas-atlas/ChangeLog b/sci-libs/blas-atlas/ChangeLog
index d639b15b71c9..0f7bc0accaec 100644
--- a/sci-libs/blas-atlas/ChangeLog
+++ b/sci-libs/blas-atlas/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/blas-atlas
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/ChangeLog,v 1.74 2007/12/12 19:03:58 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/ChangeLog,v 1.75 2007/12/20 11:13:12 markusle Exp $
+
+ 20 Dec 2007; Markus Dittrich <markusle@gentoo.org>
+ blas-atlas-3.8.0.ebuild:
+ Added fix to enable proper arch detection for pentium M chips.
12 Dec 2007; Raúl Porcel <armin76@gentoo.org> blas-atlas-3.8.0.ebuild:
sparc stable wrt #200336, thanks to Aaron Mavrinac
diff --git a/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild b/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild
index b8365ba28c9f..03fa903c8580 100644
--- a/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild
+++ b/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild,v 1.6 2007/12/12 19:03:58 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-atlas/blas-atlas-3.8.0.ebuild,v 1.7 2007/12/20 11:13:12 markusle Exp $
inherit eutils toolchain-funcs fortran multilib
@@ -63,6 +63,11 @@ src_unpack() {
epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch
epatch "${FILESDIR}"/${MY_PN}-${PATCH_V}-decl-fix.patch
+ # fix for pentium M
+ sed -e "s|iret = IntPM;|iret = IntPM; break;|g" \
+ -i CONFIG/src/backend/archinfo_x86.c \
+ || die "failed to fix pentium M arch detection"
+
BLD_DIR="${S}"/gentoo-build
mkdir "${BLD_DIR}" || die "failed to generate build directory"
cd "${BLD_DIR}"