[MacPorts] #35343: samba3: error: incomplete definition of type 'struct _ipp_s'

MacPorts noreply at macports.org
Sun Sep 23 19:12:51 PDT 2012


#35343: samba3: error: incomplete definition of type 'struct _ipp_s'
-----------------------+--------------------------
  Reporter:  mikeyy@…  |      Owner:  mww@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.1.2
Resolution:            |   Keywords:  mountainlion
      Port:  samba3    |
-----------------------+--------------------------

Comment (by smbmacportstrac@…):

 Under 10.8, /usr/include/cups/ipp.h has several data structures that are
 now opaque data types.
 A quick fix is to add a "#define _IPP_PRIVATE_STRUCTURES 1" before each
 "#include <cups/ipp.h>
 A better fix would be to create a patch distfile and get it integrated
 into MacPorts.
 The best fix would be to modify the upstream source code to use the
 accessor methods provided by cups/ipp.h and submit the patches upstream.

 By the way, this same problem occurs in netatalk.

-- 
Ticket URL: <https://trac.macports.org/ticket/35343#comment:15>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list