diff -Nru soci-4.0.1/debian/changelog soci-4.0.1/debian/changelog --- soci-4.0.1/debian/changelog 2020-12-21 16:33:34.000000000 +0000 +++ soci-4.0.1/debian/changelog 2021-03-10 17:46:31.000000000 +0000 @@ -1,3 +1,15 @@ +soci (4.0.1-5) unstable; urgency=medium + + * Add unsigned type hints to sqlite backend. Closes: 984534 + + -- William Blough Wed, 10 Mar 2021 12:46:31 -0500 + +soci (4.0.1-4) unstable; urgency=medium + + * Rebuild with C++11 support. Closes: 983572 + + -- William Blough Fri, 26 Feb 2021 11:34:53 -0500 + soci (4.0.1-3) unstable; urgency=medium * Force autopkgtests to use c++98 since SOCI isn't compiled with c++11 support diff -Nru soci-4.0.1/debian/patches/02-add-mysql-ddl-types.patch soci-4.0.1/debian/patches/02-add-mysql-ddl-types.patch --- soci-4.0.1/debian/patches/02-add-mysql-ddl-types.patch 1970-01-01 00:00:00.000000000 +0000 +++ soci-4.0.1/debian/patches/02-add-mysql-ddl-types.patch 2021-03-10 17:46:31.000000000 +0000 @@ -0,0 +1,15 @@ +Description: Add two unusual column type entries to make liblinphone work +Author: Dennis Filder +Bug-Debian: https://bugs.debian.org/984534 +Last-Update: 2021-03-10 +--- a/src/backends/sqlite3/statement.cpp ++++ b/src/backends/sqlite3/statement.cpp +@@ -440,6 +440,8 @@ + m["mediumint"] = dt_integer; + m["smallint"] = dt_integer; + m["tinyint"] = dt_integer; ++ m["tinyintunsigned"] = dt_integer; ++ m["intunsigned"] = dt_integer; + + // dt_long_long + m["bigint"] = dt_long_long; diff -Nru soci-4.0.1/debian/patches/series soci-4.0.1/debian/patches/series --- soci-4.0.1/debian/patches/series 2020-12-21 16:33:34.000000000 +0000 +++ soci-4.0.1/debian/patches/series 2021-03-10 17:46:31.000000000 +0000 @@ -1 +1,2 @@ 01-cmake_set_soci_libdir.patch +02-add-mysql-ddl-types.patch diff -Nru soci-4.0.1/debian/rules soci-4.0.1/debian/rules --- soci-4.0.1/debian/rules 2020-12-21 16:33:34.000000000 +0000 +++ soci-4.0.1/debian/rules 2021-03-10 17:46:31.000000000 +0000 @@ -9,7 +9,8 @@ # This is example for Cmake (See http://bugs.debian.org/641051 ) override_dh_auto_configure: dh_auto_configure -- \ - -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -DSOCI_EMPTY:BOOLEAN=OFF + -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) -DSOCI_EMPTY:BOOLEAN=OFF \ + -DSOCI_CXX11=1 override_dh_auto_test: # Run test, but for now, ignore results. (to be fixed later...) diff -Nru soci-4.0.1/debian/tests/build soci-4.0.1/debian/tests/build --- soci-4.0.1/debian/tests/build 2020-12-21 16:33:34.000000000 +0000 +++ soci-4.0.1/debian/tests/build 2021-03-10 17:46:31.000000000 +0000 @@ -44,7 +44,7 @@ CPPFLAGS="-I/usr/include/soci -I/usr/include/mysql -I/usr/include/postgresql \ -I/usr/include/firebird" -CXXFLAGS="-std=c++98" +#CXXFLAGS="-std=c++98" LIBS="-lsoci_core -lsoci_mysql -lsoci_postgresql -lsoci_sqlite3 \ -lsoci_firebird -lsoci_odbc"