[MacPorts] #50311: gmt5: build fails on Mavericks: error: conflicting types for 'dsyev_'
MacPorts
noreply at macports.org
Fri Mar 18 23:45:53 PDT 2016
#50311: gmt5: build fails on Mavericks: error: conflicting types for 'dsyev_'
---------------------+-----------------------
Reporter: mp@… | Owner: florian@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords:
Port: gmt5 |
---------------------+-----------------------
Comment (by mojca@…):
From what I understood in the emails exchanged on the list (I didn't
investigate myself), I would call this "sloppy" coding, so something that
could be fixed.
Why is gmt redefining `dsyev_`? If it has to do so, it would probably be
worth trying whether it would work if you would modify
`gmt-5.2.1/src/gmt_vector.c` and replace
{{{
extern int dsyev_ (char* jobz, char* uplo, int* n, double* a, ...
}}}
with
{{{
extern int dsyev_ (char *jobz, char *uplo, __CLPK_integer *n,
__CLPK_doublereal *a, ...
}}}
--
Ticket URL: <https://trac.macports.org/ticket/50311#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list