[MacPorts] #60409: fontforge @20190801_2 fails building on 10.5.8 PPC

MacPorts noreply at macports.org
Sun Jan 9 11:26:25 UTC 2022


#60409: fontforge @20190801_2 fails building on 10.5.8 PPC
-------------------------+---------------------
  Reporter:  udbraumann  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  leopard
      Port:  fontforge   |
-------------------------+---------------------

Comment (by udbraumann):

 Replying to [comment:1 kencu]:
 > This is coming in from my patch that replaces SRefCon
 [0501b5b95cf57c43a4b18c0c73639626b2fc24b8/macports-ports] which used to
 work, but I guess doesn't now. I'll have to see.

 Instead of these lines in your patch
 {{{
 +/* replace missing def on older MacOS systems */
 +#ifndef SRefCon
 +#define SRefCon long
 +#endif
 }}}
 I suggest to use
 {{{
 +/* replace missing def on older MacOS systems */
 +#ifndef SRefCon
 +typedef long SRefCon;
 +#endif
 }}}
 Using the latter, the "error: two or more data types in declaration
 specifiers" has gone on my 10.5.8 G4 PPC.

 I feel this is a kind of hack, perhaps someone else has a better idea.

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


More information about the macports-tickets mailing list