[MacPorts] #12853: libcompat doesn't build on Mac OS X 10.5 Leopard (Build9a559)

MacPorts noreply at macports.org
Sat Oct 18 07:19:33 PDT 2008


#12853: libcompat doesn't build on Mac OS X 10.5 Leopard (Build9a559)
-----------------------------------+----------------------------------------
  Reporter:  thomas.kosch at mac.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                |      Status:  new                                  
  Priority:  Normal                |   Milestone:  Port Bugs                            
 Component:  ports                 |     Version:  1.5.2                                
Resolution:                        |    Keywords:                                       
      Port:  libcompat             |  
-----------------------------------+----------------------------------------

Comment(by aschenke at macports.org):

 Replying to [comment:7 ryandesign@…]:
 > The only port I can find that now depends on libcompat is still needed
 by larn, which depends on it on all OSes except Darwin 9. Adam, does larn
 still requires libcompat on earlier Mac OS X and on non-Mac OSes?

 Looking at the source code, larn needs libcompat for the ftime function.
 This function is provided with 10.5, so libcompat is not needed on
 Leopard. I don't have a pre-Leopard system to test with unfortunately, but
 from what I can tell it looks like ftime is also available in Tiger (10.4)
 but not in earlier versions; older man pages for ftime on OS X I found on
 Google explicitly call for usage of libcompat. If this is the case, and
 not an error with the man page, larn would still need libcompat for OS X
 versions older than 10.4.

 If we need to remove libcompat, it should be fairly simple to write a
 patch for larn to use the newer gettimeofday function, which is basically
 what libcompat does. It would be helpful if someone with access to older
 systems could try building larn without libcompat; any problems would
 occur during compilation or linking rather than at run-time.

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


More information about the macports-tickets mailing list