python-numeric: Fix build with musl

Use gettimeofday() definition from system

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj
2017-06-02 21:58:31 -07:00
committed by Martin Jansa
parent 4de601006d
commit 7ef2154031
2 changed files with 33 additions and 1 deletions

View File

@@ -5,7 +5,9 @@ LIC_FILES_CHKSUM = "file://Legal.htm;md5=e3ce75dedd4043918d15979ae43e312e"
PR = "ml3"
SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/Numeric-${PV}.tar.gz"
SRC_URI = "${SOURCEFORGE_MIRROR}/numpy/Numeric-${PV}.tar.gz \
file://0001-it-tries-to-define-this-function-differently-than-it.patch \
"
S = "${WORKDIR}/Numeric-${PV}"
inherit distutils