python-numpy: uClibc patch to avoid ldexpl and frexpl
authorArnout Vandecappelle <arnout@mind.be>
Tue, 6 Oct 2015 00:30:18 +0000 (01:30 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 6 Oct 2015 09:47:12 +0000 (11:47 +0200)
commit7ed04d21d610ff03fa9f3edac8a2ba42ea1a0e8b
treedeb0d3b3190977bd2d06d01cf14995efedb0243f
parent03f18925a04119e984442bff41e461baa663a623
python-numpy: uClibc patch to avoid ldexpl and frexpl

It turns out that uClibc only enables the long double math functions
for some architectures (god know why, so what if long double is the
same as double, these functions should still be defined). Since
python-numpy links with those functions, the module will fail to load
on ARM, MIPS and SH.

However, python-numpy actually checks for each function if it is really
available. Only, it overrides that check for ldexpl and frexpl when
long double is the same as double (i.e. in exactly the case the uClibc
doesn't have these functions).

So add another exception for this.

Upstream-status: not applicable (code has changed too much)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/python-numpy/0002-Don-t-blindly-enable-frexpl-and-ldexpl-for-uClibc.patch [new file with mode: 0644]