New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13067 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

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

Changed 4 years ago by afb@…

  • status changed from new to closed
  • resolution set to fixed

Fixed, r30574.

Changed 4 years ago by nox@…

  • milestone set to Port Bugs

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.