[MacPorts] #24067: zlib 1.2.4 causes build failures because off64_t is not defined on Mac OS X

MacPorts noreply at macports.org
Wed Mar 17 12:01:44 PDT 2010


#24067: zlib 1.2.4 causes build failures because off64_t is not defined on Mac OS X
--------------------------------+-------------------------------------------
 Reporter:  gellule.xg@…        |       Owner:  ryandesign@…           
     Type:  defect              |      Status:  assigned               
 Priority:  Normal              |   Milestone:                         
Component:  ports               |     Version:                         
 Keywords:                      |        Port:  zlib                   
--------------------------------+-------------------------------------------

Comment(by gellule.xg@…):

 I would not include sys/dtrace.h, it's not really related to the off64_t
 problem.
 I agree that zconf.h could be a better location for a patch and I would
 add something like:

 {{{
 +#  if defined(__APPLE__)
 +#    define off64_t off_t
 +#  endif
 }}}

 since off_t is already 64 bits.

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


More information about the macports-tickets mailing list