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

MacPorts noreply at macports.org
Fri Jan 31 06:26:04 UTC 2025


#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 kencu):

 I fixed this by adding this to the Portfile:

 {{{
 # work around a bug in portable-scandir.c
 configure.cppflags-append -DHAVE_SCANDIR=1
 }}}

 If you read the file that generates the error, and examine the configure
 script, you might see how that could work.

 I have not tested it extensively, but it seems to work well enough with a
 few minutes use. Feel free to try that, and if it works on Lion as well,
 you can consider a PR if you like.

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


More information about the macports-tickets mailing list