Ticket #13067 (closed defect: fixed)
py25-Numeric failed to build on Leopard
| Reported by: | akh@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.0 |
| Keywords: | Cc: | ||
| Port: |
Description
Packages/RNG/Src/ranf.c: In function 'Mixranf': Packages/RNG/Src/ranf.c:153: error: conflicting types for 'gettimeofday' /usr/include/sys/time.h:211: error: previous declaration of 'gettimeofday' was here error: command 'gcc' failed with exit status 1
Don't know if it has to be passed upstream, but a quick solution is to removed a if not def for SGI:
Edit Numeric-24.2/Packages/RNG/Src/ranf.c line 374 and removed this 3 lines:
#if !defined(__sgi)
int gettimeofday(struct timeval *, struct timezone *);
#endif
Change History
Note: See
TracTickets for help on using
tickets.


Fixed, r30574.