Re: [MacPorts] #57333: xorg-server-devel @1.20.1 does not build on Mac OS X 10.5.8, Leopard, because of redefinition of typedef ‘CARD32’

MacPorts noreply at macports.org
Thu Jan 31 17:26:42 UTC 2019


#57333: xorg-server-devel @1.20.1 does not build on Mac OS X 10.5.8, Leopard,
because of redefinition of typedef ‘CARD32’
--------------------------------+----------------------
  Reporter:  ballapete          |      Owner:  jeremyhu
      Type:  defect             |     Status:  assigned
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.5.4
Resolution:                     |   Keywords:  leopard
      Port:  xorg-server-devel  |
--------------------------------+----------------------

Comment (by kencu):

 Essentially, we / I need to decide whether to make changes to the port to
 build with newer gcc versions on these older systems as here
 [ticket:57333#comment:14] which has some nice approaches to it and seems
 to be a perhaps more long-term solution or ...

 whether to hack around the redefinitions using some tricky #undef / #def
 stuff to move the conflicting definition out of the way. Then the port can
 continue to build (for a while at least) with the older gcc versions as it
 does on `xorg-server`.

 Both approaches work fine. We'll pick one of them. I don't know which
 Jeremy would prefer - probably not the one forcing gcc6+, I rather
 imagine, unless we have no other options.

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


More information about the macports-tickets mailing list