1 Description: Disable version check
2 The version check in mail_versioncheck(), called via #include "linkage.c",
3 Prevents new versions of the shared library to be used without rebuilding
4 all applications, even if there wouldn't be any other problems doing so.
5 Package dependencies, SONAME, and Debian's build system make sure that
6 a compatible version will be loaded; therefore we remove this check.
7 Author: Magnus Holmgren <holmgren@debian.org>
8 Bug-Debian: http://bugs.debian.org/682256
10 --- a/src/c-client/mail.c
11 +++ b/src/c-client/mail.c
12 @@ -293,13 +293,8 @@ static void mail_string_setpos (STRING *
14 void mail_versioncheck (char *version)
16 - /* attempt to protect again wrong .h */
17 - if (strcmp (version,mailcclientversion)) {
18 - char tmp[MAILTMPLEN];
19 - sprintf (tmp,"c-client library version skew, app=%.100s library=%.100s",
20 - version,mailcclientversion);
23 + /* Skip unnecessarily strict version check. */