Ticket #3267 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

mc fails to build against musl libc

Reported by: paulbarker Owned by: andrew_b
Priority: major Milestone: 4.8.14
Component: mc-core Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: merged Votes for changeset: committed-master

Description

mc fails to build when using musl as the libc provider. This is due to the CTRL() macro not being defined in <termios.h>. We could include <sys/ttydefaults.h> explicitly but it's easier just to ensure CTRL is defined.

I've attached a patch taken from the Sabotage Linux distro which fixes this. This patch has also been tested and works with the OpenEmbedded? build system. The patch is in unified diff format but I can provide it in another format if needed.

Attachments

mc-CTRL.patch (298 bytes) - added by paulbarker 10 years ago.

Change History

Changed 10 years ago by paulbarker

comment:1 Changed 10 years ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Votes for changeset set to andrew_b
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.14

comment:2 Changed 10 years ago by slavazanko

  • Votes for changeset changed from andrew_b to andrew_b slavazanko
  • Branch state changed from on review to approved

comment:3 Changed 10 years ago by andrew_b

  • Status changed from accepted to testing
  • Votes for changeset changed from andrew_b slavazanko to committed-master
  • Resolution set to fixed
  • Branch state changed from approved to merged

comment:4 Changed 10 years ago by andrew_b

  • Status changed from testing to closed
Note: See TracTickets for help on using tickets.