OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../cyrus-sasl2/cyrus-sasl-2.1.22-gcc44.patch
  5. # Copyright (C) 2010 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. fix warnings with gcc-4.4
  17. http://bugs.gentoo.org/248738
  18. --- cyrus-sasl-2.1.22/plugins/digestmd5.c
  19. +++ cyrus-sasl-2.1.22/plugins/digestmd5.c
  20. @@ -2715,7 +2715,7 @@ static sasl_server_plug_t digestmd5_serv
  21. "DIGEST-MD5", /* mech_name */
  22. #ifdef WITH_RC4
  23. 128, /* max_ssf */
  24. -#elif WITH_DES
  25. +#elif defined(WITH_DES)
  26. 112,
  27. #else
  28. 1,
  29. @@ -4034,7 +4034,7 @@ static sasl_client_plug_t digestmd5_clie
  30. "DIGEST-MD5",
  31. #ifdef WITH_RC4 /* mech_name */
  32. 128, /* max ssf */
  33. -#elif WITH_DES
  34. +#elif defined(WITH_DES)
  35. 112,
  36. #else
  37. 1,