[MacPorts] #57334: gimp2: error: typedef redefinition with different types

MacPorts noreply at macports.org
Sun Oct 28 20:10:11 UTC 2018


#57334: gimp2: error: typedef redefinition with different types
-------------------------+----------------------
  Reporter:  ryandesign  |      Owner:  dbevans
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gimp2       |
-------------------------+----------------------

Comment (by dbevans):

 In [changeset:"c22b48d786330cbf539426ef461aef27ef78ea84/macports-ports"
 c22b48d786330cbf539426ef461aef27ef78ea84/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="c22b48d786330cbf539426ef461aef27ef78ea84"
 gimp2-devel: additional 10.6 build fix

 On 10.6 and earlier when GDK_WINDOWING_X11 and PLATFORM_OSX
 are defined simultaneously (e.g. +x11), there is
 potential for a typedef conflict between X11 and Quickdraw.
 In the case where this occurs, #undef PLATFORM_OSX if
 GDK_WINDOWING_X11 is defined.

 In otherwords, if building for X11 use the X11 API exclusively
 even if we are building on OSX.

 error: typedef redefinition with different types ('struct Cursor' vs 'XID'
 (aka 'unsigned long'))

 See: https://trac.macports.org/ticket/57334
 }}}

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


More information about the macports-tickets mailing list