[MacPorts] #69792: geany @2.0 Fails to Build on Lion - error: conflicting types for 'scandir' (was: geany @2.0 Fails too Build on Lion - error: conflicting types for 'scandir')

MacPorts noreply at macports.org
Sat Apr 20 22:37:30 UTC 2024


#69792: geany @2.0 Fails to Build on Lion - error: conflicting types for 'scandir'
---------------------+--------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.9.3
Resolution:          |   Keywords:  lion
      Port:  geany   |
---------------------+--------------------

Comment (by ryandesign):

 Yes, the prototype of `scandir` did change at some point. I guess since we
 have a successful build of this port on the buildbot on 10.8 but not on
 10.7 it changed in 10.8.

 `man scandir` on 10.7 says:

 {{{
      int
      scandir(const char *dirname, struct dirent ***namelist, int
 (*select)(struct dirent *), int (*compar)(const void *, const void *));
 }}}

 `man scandir` on 10.8 says:

 {{{
      int
      scandir(const char *dirname, struct dirent ***namelist, int
 (*select)(const struct dirent *),
          int (*compar)(const struct dirent **, const struct dirent **));
 }}}

 You can file a bug report with the developers of geany asking them to
 support the old version of `scandir`. If they won't, then this port
 requires 10.8 or later.

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


More information about the macports-tickets mailing list