Re: [MacPorts] #61153: libffi @3.3_1: error: expected ‘)’ before ‘*’ token

MacPorts noreply at macports.org
Wed Sep 9 21:47:02 UTC 2020


#61153: libffi @3.3_1: error: expected ‘)’ before ‘*’ token
-------------------------+-----------------------------
  Reporter:  TzunamiOSX  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.3
Resolution:              |   Keywords:  leopard powerpc
      Port:  libffi      |
-------------------------+-----------------------------

Comment (by ballapete):

 Replying to [comment:10 ryandesign]:
 > Replying to [comment:7 kencu]:
 > > So we need to figure out why {{{ffi_go_closure}}} is undefined, or
 otherwise fix that section of the file.

 `GCC` always defines `__POWERPC__` and similiar values, starting with two
 underscores and finishing with two underscores. So we should try to add ``
 || defined (__POWERPC__) || defined (__POWERPC64__)` to the line # 145:

 {{{
 #if defined (POWERPC) || defined (POWERPC_FREEBSD)
 }}}

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


More information about the macports-tickets mailing list