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

MacPorts noreply at macports.org
Mon Mar 15 19:50:56 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:  1.8.2                  
 Keywords:                      |        Port:  zlib                   
--------------------------------+-------------------------------------------

Comment(by gellule.xg@…):

 I read a little about _LARGEFILE64_SOURCE there:
 http://www.gnu.org/software/libc/manual/html_mono/libc.html#index-
 g_t_005fLARGEFILE64_005fSOURCE-48
 It looks like setting _LARGEFILE64_SOURCE should make off64_t available.
 Both mplayer and VLC turn it on but never use off64_t. They actually also
 use _FILE_OFFSET_BITS=64 which makes off_t (and related) 64 bits directly.
 To me it looks like both project moved on to a 64bits off_t and should not
 set _LARGEFILE64_SOURCE anymore.

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


More information about the macports-tickets mailing list