diff options
author | ume <ume@FreeBSD.org> | 2010-03-12 15:50:03 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2010-03-12 15:50:03 +0800 |
commit | b31e98ea4b3f591c1cefbf0fb0f861b6ed7fd4a1 (patch) | |
tree | 71ec5bb4478a592ea5c8f488e4ecc4598aedb443 /security | |
parent | e7814525084699bb50613de5e14fe7aadd52ed79 (diff) | |
download | freebsd-ports-gnome-b31e98ea4b3f591c1cefbf0fb0f861b6ed7fd4a1.tar.gz freebsd-ports-gnome-b31e98ea4b3f591c1cefbf0fb0f861b6ed7fd4a1.tar.zst freebsd-ports-gnome-b31e98ea4b3f591c1cefbf0fb0f861b6ed7fd4a1.zip |
Fix compilation with gcc44.
It seems there is this fix in cyrus-sasl-2.1.24rc1.
PR: 132573
Submitted by: Anonymous <swell.k__at__gmail.com>
Reviewed by: OISHI Masakuni <yamasa__at__bsdhouse.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/cyrus-sasl2/files/patch-plugins-digestmd5.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/cyrus-sasl2/files/patch-plugins-digestmd5.c b/security/cyrus-sasl2/files/patch-plugins-digestmd5.c new file mode 100644 index 000000000000..e63375ac490c --- /dev/null +++ b/security/cyrus-sasl2/files/patch-plugins-digestmd5.c @@ -0,0 +1,20 @@ +--- plugins/digestmd5.c.orig 2006-05-17 20:46:17.000000000 +0400 ++++ plugins/digestmd5.c +@@ -2715,7 +2715,7 @@ static sasl_server_plug_t digestmd5_serv + "DIGEST-MD5", /* mech_name */ + #ifdef WITH_RC4 + 128, /* max_ssf */ +-#elif WITH_DES ++#elif defined(WITH_DES) + 112, + #else + 1, +@@ -4034,7 +4034,7 @@ static sasl_client_plug_t digestmd5_clie + "DIGEST-MD5", + #ifdef WITH_RC4 /* mech_name */ + 128, /* max ssf */ +-#elif WITH_DES ++#elif defined(WITH_DES) + 112, + #else + 1, |