diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-08-14 14:28:45 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2002-08-14 14:28:45 +0000 |
commit | 0d630d5a996a28ef4050cce2472815b4140d622a (patch) | |
tree | 1f19a54db397a56a828ad15d63fb2bb814982995 /security/cyrus-sasl2 | |
parent | ae3537edde2b06af4780b12fe0c2324bd6f6e7ff (diff) |
load plugins from plugin directry explicitly.
Notes
Notes:
svn path=/head/; revision=64501
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r-- | security/cyrus-sasl2/Makefile | 1 | ||||
-rw-r--r-- | security/cyrus-sasl2/files/patch-lib::dlopen.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile index 50ef85d28950..20078220d867 100644 --- a/security/cyrus-sasl2/Makefile +++ b/security/cyrus-sasl2/Makefile @@ -7,6 +7,7 @@ PORTNAME= cyrus-sasl PORTVERSION= 2.1.7 +PORTREVISION= 1 CATEGORIES= security ipv6 MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ ftp://ftp.westbend.net/pub/cyrus-mail/ \ 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; + } + |