Opened 6 months ago

Closed 6 months ago

Last modified 6 months ago

#60376 closed defect (fixed)

mc @4.8.24 fails building on 10.5.8

Reported by: udbraumann Owned by: ken-cunningham-webuse
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc:
Port: mc

Description

While upgrading mc from 4.8.22_0 to 4.8.24_0 on my Leopard PPC G4 building stopped with this issue:

...
  CC       mouse.lo
  CC       tty-internal.lo
tty-internal.c: In function ‘tty_create_winch_pipe’:
tty-internal.c:82: error: ‘O_CLOEXEC’ undeclared (first use in this function)
tty-internal.c:82: error: (Each undeclared identifier is reported only once
tty-internal.c:82: error: for each function it appears in.)
make[3]: *** [tty-internal.lo] Error 1
...

What could I do?

Attachments (1)

main.log.gz (7.7 KB) - added by udbraumann 6 months ago.

Download all attachments as: .zip

Change History (4)

Changed 6 months ago by udbraumann

Attachment: main.log.gz added

comment:1 Changed 6 months ago by kencu (Ken)

The legacysupport PG replaces that define, for one. So you might fix it by adding that PG.

comment:2 Changed 6 months ago by ken-cunningham-webuse

Owner: set to ken-cunningham-webuse
Resolution: fixed
Status: newclosed

In 2b5a3774d1a4dcacde28bbb21ba719fe81ac7bb2/macports-ports (master):

mc: use legacysupport

for O_CLOEXEC
closes: #60376

comment:3 Changed 6 months ago by udbraumann

Great, thanks for your instantaneous help!

Note: See TracTickets for help on using tickets.