diff options
Diffstat (limited to 'security/cyrus-sasl2/files/patch-lib::dlopen.c')
-rw-r--r-- | security/cyrus-sasl2/files/patch-lib::dlopen.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-lib::dlopen.c b/security/cyrus-sasl2/files/patch-lib::dlopen.c new file mode 100644 index 000000000000..6c915ffeeaac --- /dev/null +++ b/security/cyrus-sasl2/files/patch-lib::dlopen.c @@ -0,0 +1,16 @@ +Index: lib/dlopen.c +diff -u lib/dlopen.c.orig lib/dlopen.c +--- lib/dlopen.c.orig Fri Apr 19 01:58:42 2002 ++++ lib/dlopen.c Wed Aug 14 18:45:43 2002 +@@ -254,7 +254,11 @@ + return SASL_FAIL; + } + } ++#if defined(__FreeBSD__) ++ if(out != in) snprintf(out, PATH_MAX, "%s/%s", prefix, in); ++#else + if(out != in) strncpy(out, in, PATH_MAX); ++#endif + return SASL_OK; + } + |