[MacPorts] #53314: lirc @0.9.4c_1 build fails on older systems due to redefinition of scandir() in 10.8+

MacPorts noreply at macports.org
Sun Jan 15 19:01:38 UTC 2017


#53314: lirc @0.9.4c_1 build fails on older systems due to redefinition of
scandir() in 10.8+
-------------------------------------+------------------------
  Reporter:  kencu                   |      Owner:  ctreleaven
      Type:  defect                  |     Status:  assigned
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:
Resolution:                          |   Keywords:
      Port:  lirc audacious-plugins  |
-------------------------------------+------------------------

Comment (by kencu):

 Replying to [comment:2 ctreleaven]:
 > I would suggest that audacious-plugins be modified, at least
 temporarily, to disallow the +lirc variant where the OS is 10.8 or
 earlier.
 10.7 or earlier. 10.8+ would appear to be OK.


 > I'm not fluent in C++.  If someone can supply an appropriate patch for
 10.8 and prior, I can add it to our lirc port.
 I think it's not a trivial fix (like a cast). People seem to rewrite
 scandir for these older systems. Ugh. Don't see myself digging into that
 at the moment, but I see there is a replacement in glib that perhaps could
 be used <https://fossies.org/dox/glibc-2.24/scandir_8c.html> if someone is
 so motivated.

 For now I'm happy without `lirc` , and audacious works great without that
 bit of functionality.

--
Ticket URL: <https://trac.macports.org/ticket/53314#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list