summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Duft <mduft@gentoo.org>2010-02-24 14:52:40 +0000
committerMarkus Duft <mduft@gentoo.org>2010-02-24 14:52:40 +0000
commitc13703610542aeb347a0b393a470d8e67952cb87 (patch)
tree5601d032ab6bf7cf0d6f0e56cc0eed85685dcdee /dev-python/numpy
parentQuoting (diff)
downloadgentoo-2-c13703610542aeb347a0b393a470d8e67952cb87.tar.gz
gentoo-2-c13703610542aeb347a0b393a470d8e67952cb87.tar.bz2
gentoo-2-c13703610542aeb347a0b393a470d8e67952cb87.zip
added small patch to fix build on interix
(Portage version: 2.2.00.15444-prefix/cvs/Linux i686)
Diffstat (limited to 'dev-python/numpy')
-rw-r--r--dev-python/numpy/ChangeLog6
-rw-r--r--dev-python/numpy/files/numpy-1.4.0-interix.patch15
-rw-r--r--dev-python/numpy/numpy-1.4.0.ebuild4
3 files changed, 23 insertions, 2 deletions
diff --git a/dev-python/numpy/ChangeLog b/dev-python/numpy/ChangeLog
index 97df011511cd..f6859fcdf9e9 100644
--- a/dev-python/numpy/ChangeLog
+++ b/dev-python/numpy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/numpy
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.106 2010/01/09 19:44:46 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.107 2010/02/24 14:52:39 mduft Exp $
+
+ 24 Feb 2010; Markus Duft <mduft@gentoo.org> numpy-1.4.0.ebuild,
+ +files/numpy-1.4.0-interix.patch:
+ added small patch to fix build on interix
09 Jan 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
numpy-1.4.0.ebuild, +files/numpy-1.4.0-python-2.7.patch:
diff --git a/dev-python/numpy/files/numpy-1.4.0-interix.patch b/dev-python/numpy/files/numpy-1.4.0-interix.patch
new file mode 100644
index 000000000000..b7558676bedd
--- /dev/null
+++ b/dev-python/numpy/files/numpy-1.4.0-interix.patch
@@ -0,0 +1,15 @@
+Reported [2010.01.18]: http://projects.scipy.org/numpy/ticket/1365
+
+diff -ru numpy-1.4.0.orig/numpy/core/setup.py numpy-1.4.0/numpy/core/setup.py
+--- numpy-1.4.0.orig/numpy/core/setup.py 2010-01-15 16:49:14 +0100
++++ numpy-1.4.0/numpy/core/setup.py 2010-01-15 17:02:27 +0100
+@@ -169,6 +169,9 @@
+ priv = []
+ pub = []
+
++ if os.uname()[0] == "Interix":
++ return priv, pub
++
+ # Check for complex support
+ st = config.check_header('complex.h')
+ if st:
diff --git a/dev-python/numpy/numpy-1.4.0.ebuild b/dev-python/numpy/numpy-1.4.0.ebuild
index 0a8b557261bb..873621e2ae87 100644
--- a/dev-python/numpy/numpy-1.4.0.ebuild
+++ b/dev-python/numpy/numpy-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.4.0.ebuild,v 1.2 2010/01/09 19:44:46 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.4.0.ebuild,v 1.3 2010/02/24 14:52:39 mduft Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -100,6 +100,8 @@ src_prepare() {
else
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
fi
+
+ epatch "${FILESDIR}"/${P}-interix.patch
}
src_compile() {