[MacPorts] #51451: gnutls @3.4.12: build fails on 10.6, undefined symbol strndup.

MacPorts noreply at macports.org
Sun May 22 08:41:22 PDT 2016


#51451: gnutls @3.4.12: build fails on 10.6, undefined symbol strndup.
-----------------------+----------------------
  Reporter:  devans@…  |      Owner:  mps@…
      Type:  defect    |     Status:  reopened
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  gnutls    |
-----------------------+----------------------

Comment (by mps@…):

 Peter,

 My original patch would have worked, but would have made for a messy
 Portfile (patching as a function of the Darwin version #), so I opted for
 David's approach. As I no longer have a Tiger machine (I do have a Leopard
 G5 iMac, where this update build correctly), nor do the build bots build
 anything older than Snow Leopard, so I have no way of testing on older,
 unsupported, systems.

 The best approach is to make a local build tree and modify the patch file
 by removing

 {{{
 #ifdef __APPLE__
 #include <Availability.h>
 #if __MAC_OS_X_VERSION_MIN_REQUIRED <= 1060
 }}}
 and
 {{{
 #endif
 #endif
 }}}
 which was my original patch.

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


More information about the macports-tickets mailing list