[MacPorts] #35628: transfig's fig2dev does not build under Mountain Lion
MacPorts
noreply at macports.org
Sat Aug 11 08:31:14 PDT 2012
#35628: transfig's fig2dev does not build under Mountain Lion
----------------------------------+-----------------------------------------
Reporter: gnn@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: transfig
----------------------------------+-----------------------------------------
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.
--
Ticket URL: <https://trac.macports.org/ticket/35628>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list