diff options
author | ume <ume@FreeBSD.org> | 2002-08-14 22:28:45 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-08-14 22:28:45 +0800 |
commit | e81c7a4fa897f98bdbb8be07ff4b9dd04d02a81c (patch) | |
tree | 0638c0543c8089eef051d0757de8b20f6b9ed727 /security | |
parent | 1751dad72ffbdf0c3cf9471b38383dbd1517de18 (diff) | |
download | freebsd-ports-gnome-e81c7a4fa897f98bdbb8be07ff4b9dd04d02a81c.tar.gz freebsd-ports-gnome-e81c7a4fa897f98bdbb8be07ff4b9dd04d02a81c.tar.zst freebsd-ports-gnome-e81c7a4fa897f98bdbb8be07ff4b9dd04d02a81c.zip |
load plugins from plugin directry explicitly.
Diffstat (limited to 'security')
-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; + } + |