pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-scipy build failure



Hi,

Builds fine for my NetBSD/amd64 10.99.12 now.
Thank you very much!!!

Greg Troxel <gdt%lexort.com@localhost> writes:

> Greg Troxel <gdt%lexort.com@localhost> writes:
>
>>> --- scipy/special/stirling2.h.orig      2025-01-02 22:53:29.000000000 +0000
>>> +++ scipy/special/stirling2.h
>>> @@ -4,13 +4,17 @@
>>>  #if defined(__cplusplus)
>>>  #include <cmath>
>>>  using std::isinf;
>>> -#endif
>>> -
>>> +#include <complex>
>>> +#else
>>>  #include <complex.h>
>>>  #include <math.h>
>>> +#endif
>>> +
>>> +/*
>>>  #include <stdio.h>
>>>  #include <stdint.h>
>>>  #include <stdlib.h>
>>> +*/
>>>  
>>>  #include "xsf/binom.h"
>>>  #include "xsf/lambertw.h"
>
> I committed a patch based on yours, but less aggressively pruning C
> headers.  scipy builds for me.
>
>
> If anyone has been having trouble building scipy, please update and try
> again.

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index