summaryrefslogtreecommitdiff
path: root/staging/cyrus-sasl-plugins/cyrus-sasl-2.1.22-gcc44.patch
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-04 12:58:32 +0000
committerroot <root@rshg047.dnsready.net>2011-05-04 12:58:32 +0000
commit9780d07c31b22125ad7ecba4e281ff41194f95be (patch)
tree2336cb3e1bd98fe4b7631eb175c25f90a243815a /staging/cyrus-sasl-plugins/cyrus-sasl-2.1.22-gcc44.patch
parentddb2605f6bccbdb398f3937ff21e4688915a450d (diff)
Wed May 4 12:58:31 UTC 2011
Diffstat (limited to 'staging/cyrus-sasl-plugins/cyrus-sasl-2.1.22-gcc44.patch')
-rw-r--r--staging/cyrus-sasl-plugins/cyrus-sasl-2.1.22-gcc44.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/staging/cyrus-sasl-plugins/cyrus-sasl-2.1.22-gcc44.patch b/staging/cyrus-sasl-plugins/cyrus-sasl-2.1.22-gcc44.patch
new file mode 100644
index 000000000..e2621278b
--- /dev/null
+++ b/staging/cyrus-sasl-plugins/cyrus-sasl-2.1.22-gcc44.patch
@@ -0,0 +1,24 @@
+fix warnings with gcc-4.4
+
+http://bugs.gentoo.org/248738
+
+--- cyrus-sasl-2.1.22/plugins/digestmd5.c
++++ cyrus-sasl-2.1.22/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,