diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-04-14 00:10:04 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-04-14 00:10:04 +0100 |
commit | 563929d695450a785859a044140a38ca869b97be (patch) | |
tree | a81c98c49de54ae91af092fd7aac734ae92f58d1 /net-ftp/proftpd/files | |
parent | app-misc/mc: fix build failure against glibc-2.23, bug #579858 (diff) | |
download | gentoo-563929d695450a785859a044140a38ca869b97be.tar.gz gentoo-563929d695450a785859a044140a38ca869b97be.tar.bz2 gentoo-563929d695450a785859a044140a38ca869b97be.zip |
net-ftp/proftpd: downgrade sqlite and memcache version warnings, bug #555076
Reported-by: Matthew Schultz
Bug: https://bugs.gentoo.org/555076
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-ftp/proftpd/files')
-rw-r--r-- | net-ftp/proftpd/files/proftpd-1.3.5b-nowarn-abi.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-ftp/proftpd/files/proftpd-1.3.5b-nowarn-abi.patch b/net-ftp/proftpd/files/proftpd-1.3.5b-nowarn-abi.patch new file mode 100644 index 000000000000..647f1fb988f3 --- /dev/null +++ b/net-ftp/proftpd/files/proftpd-1.3.5b-nowarn-abi.patch @@ -0,0 +1,33 @@ +commit 74cf2a6ed74471ff1d9088e8d9132fc9132861fb +Author: TJ Saunders <tj@castaglia.org> +Date: Mon Apr 11 14:00:05 2016 -0700 + + Downgrade log messages about header/library version mismatches for SQLite, + libmemcached from WARN to INFO. + +diff --git a/contrib/mod_sql_sqlite.c b/contrib/mod_sql_sqlite.c +index cd6fb53..81ee4a4 100644 +--- a/contrib/mod_sql_sqlite.c ++++ b/contrib/mod_sql_sqlite.c +@@ -1059,7 +1058,7 @@ static int sql_sqlite_init(void) { + * For now, we only log if there is a difference. + */ + if (strcmp(sqlite3_libversion(), SQLITE_VERSION) != 0) { +- pr_log_pri(PR_LOG_WARNING, MOD_SQL_SQLITE_VERSION ++ pr_log_pri(PR_LOG_INFO, MOD_SQL_SQLITE_VERSION + ": compiled using SQLite version '%s' headers, but linked to " + "SQLite version '%s' library", SQLITE_VERSION, sqlite3_libversion()); + } +diff --git a/modules/mod_memcache.c b/modules/mod_memcache.c +index e88cba8..80ab0db 100644 +--- a/modules/mod_memcache.c ++++ b/modules/mod_memcache.c +@@ -364,7 +362,7 @@ static int mcache_init(void) { + + version = memcached_lib_version(); + if (strcmp(version, LIBMEMCACHED_VERSION_STRING) != 0) { +- pr_log_pri(PR_LOG_WARNING, MOD_MEMCACHE_VERSION ++ pr_log_pri(PR_LOG_INFO, MOD_MEMCACHE_VERSION + ": compiled using libmemcached-%s headers, but linked to " + "libmemcached-%s library", LIBMEMCACHED_VERSION_STRING, version); + |