#13067 closed defect (fixed)
py25-Numeric failed to build on Leopard
Reported by: | akhenakh (Fabrice Aneche) | 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 (3)
comment:1 Changed 17 years ago by afb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|
Note: See
TracTickets for help on using
tickets.
Fixed, r30574.