Ticket #35628 (closed defect: duplicate)
transfig's fig2dev does not build under Mountain Lion
| Reported by: | gnn@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.1.2 |
| Keywords: | clang | Cc: | |
| Port: | transfig |
Description (last modified by ryandesign@…) (diff)
The code that is used to build transfig and fig2dev is pretty old and the latest compilers under Mountain Lion misinterpret a function that ought to be labeled void as being int. The code is over 20 years old so this is not a complete surprise. Transfig itself installs but fig2dev fails, silently. Changing the signature of set_width in the file:
fig2dev/devgenibmgl.c
to be this:
static void set_width(int w)
Allows the program to compile and run.
Sorry, I don't have an easy way to generate a real patch, but this is a one liner.
Change History
Note: See
TracTickets for help on using
tickets.


Duplicate of #35528.