[MacPorts] #62468: _sasl_locate_entry() in Cyrus SASL's lib/dlopen.c assumes a leading underscore is needed for calls to dlsym()

MacPorts noreply at macports.org
Wed Mar 17 01:58:24 UTC 2021


#62468: _sasl_locate_entry() in Cyrus SASL's lib/dlopen.c assumes a leading
underscore is needed for calls to dlsym()
---------------------------------------------+--------------------
  Reporter:  steven-michaud                  |      Owner:  (none)
      Type:  defect                          |     Status:  new
  Priority:  Normal                          |  Milestone:
 Component:  ports                           |    Version:
Resolution:                                  |   Keywords:
      Port:  cyrus-sasl2 @2.1.27_2+kerberos  |
---------------------------------------------+--------------------

Comment (by kencu):

 Here's how we generate the patch, by the way:
 {{{
 sudo port -v extract cyrus-sasl2
 cd `port work cyrus-sasl2`
 cd cy*
 sudo cp configure configure.orig
 bbedit configure
 }}}
 add this in the right place:
 {{{
 #include <stdlib.h>
 }}}
 then
 {{{
 diff -u configure.orig configure > ~/patch-cyrus-fix-implicit-dlysm.diff
 }}}
 then
 {{{
 cd ~
 sudo port -v install cyrus-sasl2
 }}}
 (builds with your patched configure, hopefully fixed up as it should be).

 and then if you get that far and are motivated, I can show you how to make
 a PR and fix this for everyone.

 If you are not that motivated, attach your patch here to this ticket
 instead.

 If you really like this port, and you (obviously) know what you're doing,
 volunteer to be the worldwide port maintainer, and make sure it always
 works correctly for everyone!

-- 
Ticket URL: <https://trac.macports.org/ticket/62468#comment:24>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list