New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #35628 (closed defect: duplicate)

Opened 10 months ago

Last modified 10 months ago

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

comment:1 Changed 10 months ago by ryandesign@…

  • Status changed from new to closed
  • Keywords clang added
  • Resolution set to duplicate
  • Description modified (diff)

Duplicate of #35528.

Note: See TracTickets for help on using tickets.