void-packages/srcpkgs/cyrus-sasl/patches/cyrus-sasl-2.1.22-gcc44.patch
Juan RP ee39e4c87b Added cyrus-sasl-2.1.23 build template.
--HG--
extra : convert_revision : cd7571b0e341f27eb60fd91525bdfa1a71a51fae
2010-04-18 17:48:17 +02:00

24 lines
504 B
Diff

fix warnings with gcc-4.4
http://bugs.gentoo.org/248738
--- plugins/digestmd5.c
+++ 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,