Opened 12 years ago
Closed 12 years ago
#35628 closed defect (duplicate)
transfig's fig2dev does not build under Mountain Lion — at Version 1
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 (Ryan Carsten Schmidt))
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 (1)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | clang added |
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Duplicate of #35528.