Bug-Debian: http://bugs.debian.org/717728 ---
This patch is meant to apply on top of the changes that I posted to Bug#786747 "new upstream stable version Kannel 1.4.4", Bug#788335 "kannel: wrong license in the copyright file", and Bug#590544 "[kannel] sensible handling of values in /etc/default/kannel". debian/changelog | 1 + debian/patches/34_sqlite3_libversion.patch | 21 +++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 23 insertions(+) create mode 100644 debian/patches/34_sqlite3_libversion.patch diff --git a/debian/changelog b/debian/changelog index 5ca13e5..b3c7c33 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,6 +20,7 @@ kannel (1.4.4-0~procomp1) UNRELEASED; urgency=low * Update debian/copyright from LICENSE. Closes: bug#788335. * If $START_WAPBOX or $START_SMSBOX is defined but the value is not 1, then don't start that box. Closes: bug#590544. + * Add patch 34 to use sqlite3_libversion(). Closes: bug#717728. -- diff --git a/debian/patches/34_sqlite3_libversion.patch b/debian/patches/34_sqlite3_libversion.patch new file mode 100644 index 0000000..6304cd3 --- /dev/null +++ b/debian/patches/34_sqlite3_libversion.patch @@ -0,0 +1,21 @@ +Description: Use sqlite3_libversion() instead of sqlite3_version[]. + Using sqlite3_version causes a "has different size in shared object" + warning at run time if the length of the version number has changed + in the sqlite3 shared library. It is not clear whether anything + worse will happen in addition to the warning, but we can avoid the + problem altogether by calling sqlite_libversion() instead. +Author: Kalle Niemitalo <kalle.niemit...@procomp.fi> +Bug-Debian: http://bugs.debian.org/717728 +Last-Update: 2015-06-09 + +--- kannel-1.4.4.orig/gwlib/dbpool_sqlite3.c ++++ kannel-1.4.4/gwlib/dbpool_sqlite3.c +@@ -86,7 +86,7 @@ static void *sqlite3_open_conn(const DBC + } + + info(0, "SQLite3: Opened or created database file `%s'.", octstr_get_cstr(conf->file)); +- info(0, "SQLite3: library version %s.", sqlite3_version); ++ info(0, "SQLite3: library version %s.", sqlite3_libversion()); + + return db; + diff --git a/debian/patches/series b/debian/patches/series index d0c60d2..fb6e3b0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 33_docpatch.patch +34_sqlite3_libversion.patch -- 1.9.1 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org