summaryrefslogtreecommitdiffstats
path: root/extra/cyrus-sasl/gcc44-1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cyrus-sasl/gcc44-1.patch')
-rw-r--r--extra/cyrus-sasl/gcc44-1.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/cyrus-sasl/gcc44-1.patch b/extra/cyrus-sasl/gcc44-1.patch
new file mode 100644
index 000000000..0d4d2d2ea
--- /dev/null
+++ b/extra/cyrus-sasl/gcc44-1.patch
@@ -0,0 +1,23 @@
+Bug #248738
+
+diff -Naurp cyrus-sasl-2.1.22-orig/plugins/digestmd5.c cyrus-sasl-2.1.22/plugins/digestmd5.c
+--- cyrus-sasl-2.1.22-orig/plugins/digestmd5.c 2006-05-17 10:46:17.000000000 -0600
++++ cyrus-sasl-2.1.22/plugins/digestmd5.c 2008-11-24 23:39:11.000000000 -0600
+@@ -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,