[MacPorts] #47942: xraylib @3.1.0_0: libxrl.dylib is built with flat namespace on Yosemite

MacPorts noreply at macports.org
Wed Jun 3 12:15:15 PDT 2015


#47942: xraylib @3.1.0_0: libxrl.dylib is built with flat namespace on Yosemite
--------------------------+------------------------------
 Reporter:  ryandesign@…  |      Owner:  Tom.Schoonjans@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.3.99
 Keywords:  haspatch      |       Port:  xraylib
--------------------------+------------------------------
 xraylib's libxrl.dylib is improperly built with the flat namespace instead
 of the two-level namespace on Yosemite. This can cause problems. The
 attached patch fixes this, the same way we've been fixing it in other
 ports. It's a libtool bug that was fixed after Yosemite's release;
 xraylib's configure script was evidently built with a version of libtool
 older than that.

 Before patch:

 {{{
 $ otool -hv /opt/local/lib/libxrl.dylib
 /opt/local/lib/libxrl.dylib:
 Mach header
       magic cputype cpusubtype  caps    filetype ncmds sizeofcmds
 flags
 MH_MAGIC_64  X86_64        ALL  0x00       DYLIB    14       1624 DYLDLINK
 NO_REEXPORTED_DYLIBS
 }}}

 After patch:

 {{{
 $ otool -hv /opt/local/lib/libxrl.dylib
 /opt/local/lib/libxrl.dylib:
 Mach header
       magic cputype cpusubtype  caps    filetype ncmds sizeofcmds
 flags
 MH_MAGIC_64  X86_64        ALL  0x00       DYLIB    14       1624
 NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS
 }}}

 May I commit?

-- 
Ticket URL: <https://trac.macports.org/ticket/47942>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list