diff options
author | root <root@rshg054.dnsready.net> | 2011-08-04 23:14:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-08-04 23:14:34 +0000 |
commit | 7e5cd77730015792e26338edcc137acf3f1bd2ae (patch) | |
tree | 7e8d59d2d1f570618635d8136647e0903f03bc0b /testing/cyrus-sasl/0022_gcc4.4_preprocessor_syntax.patch | |
parent | 8c2359e2541f9d1b11443b49d8ea502b3ffea39c (diff) |
Thu Aug 4 23:14:34 UTC 2011
Diffstat (limited to 'testing/cyrus-sasl/0022_gcc4.4_preprocessor_syntax.patch')
-rw-r--r-- | testing/cyrus-sasl/0022_gcc4.4_preprocessor_syntax.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/cyrus-sasl/0022_gcc4.4_preprocessor_syntax.patch b/testing/cyrus-sasl/0022_gcc4.4_preprocessor_syntax.patch new file mode 100644 index 000000000..a49b553f0 --- /dev/null +++ b/testing/cyrus-sasl/0022_gcc4.4_preprocessor_syntax.patch @@ -0,0 +1,26 @@ +0022_gcc4.4_preprocessor_syntax.dpatch by <fabbe@paniq.net> + +The #elif preprocessor directive requires a test condition. +GCC 4.4 enforces this rule. + +diff -urNad trunk~/plugins/digestmd5.c trunk/plugins/digestmd5.c +--- trunk~/plugins/digestmd5.c 2006-06-04 12:26:19.000000000 +0300 ++++ trunk/plugins/digestmd5.c 2009-01-26 13:29:40.000000000 +0200 +@@ -2715,7 +2715,7 @@ + "DIGEST-MD5", /* mech_name */ + #ifdef WITH_RC4 + 128, /* max_ssf */ +-#elif WITH_DES ++#elif defined(WITH_DES) + 112, + #else + 1, +@@ -4034,7 +4034,7 @@ + "DIGEST-MD5", + #ifdef WITH_RC4 /* mech_name */ + 128, /* max ssf */ +-#elif WITH_DES ++#elif defined(WITH_DES) + 112, + #else + 1, |