New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13067 (closed defect: fixed)

Opened 6 years ago

Last modified 4 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

comment:1 Changed 6 years ago by afb@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed, r30574.

comment:2 Changed 6 years ago by nox@…

  • Milestone set to Port Bugs

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.