41 lines
1.2 KiB
41 lines
1.2 KiB
15 years ago
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
||
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
||
|
#
|
||
|
# Filename: package/.../cyrus-sasl2/cyrus-sasl-2.1.22-gcc44.patch
|
||
|
# Copyright (C) 2010 The OpenSDE Project
|
||
|
#
|
||
|
# More information can be found in the files COPYING and README.
|
||
|
#
|
||
|
# This patch file is dual-licensed. It is available under the license the
|
||
|
# patched project is licensed under, as long as it is an OpenSource license
|
||
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
||
|
# of the GNU General Public License as published by the Free Software
|
||
|
# Foundation; either version 2 of the License, or (at your option) any later
|
||
|
# version.
|
||
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
||
|
|
||
|
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,
|