Hi Bas,
unhappily liblwgeom is plagued by several unexpected API/ABI
breakages affecting each subsequent release; in this specific
case lw_vasprints was abruptly removed from PostGIS 2.2.0
libspatialite 4.3.0a was released one month before postgis
2.2.0 (respectively on 2015-09-07 and 2015-10-07) and sadly
the final result of all this is that now 4.3.0a cannot be
successfully built on the top of liblwgeom 2.2.0
as you already discovered by yourself the current code of
libspatialite-trunk available from the Fossil repository
now correctly supports liblwgeom 2.2.0 (and any earlier
version), and the required changes were just replacing
all references to lw_vasprintf by sqlite3_vmprintf.
the interested functions are lwgaia_noticereporter()
and lwgaia_errorreporter() in -/src/gaiageo/gg_lwgeom.c
so I'm happy to confirm that your patch to the Debian
package is correct and should successfully work.
bye Sandro