Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#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 16 years ago by afb@…

Resolution: fixed
Status: newclosed

Fixed, r30574.

comment:2 Changed 16 years ago by nox@…

Milestone: Port Bugs

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.