[MacPorts] #35628: transfig's fig2dev does not build under Mountain Lion
MacPorts
noreply at macports.org
Sun Aug 12 02:37:08 PDT 2012
#35628: transfig's fig2dev does not build under Mountain Lion
-----------------------------------+----------------------------------------
Reporter: gnn@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: duplicate | Keywords: clang
Port: transfig |
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):
* keywords: => clang
* status: new => closed
* resolution: => duplicate
Old description:
> 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.
New description:
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.
--
Comment:
Duplicate of #35528.
--
Ticket URL: <https://trac.macports.org/ticket/35628#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list