libsdl2 FTBFS on wily, it appears due to Mir changes:
libtool: compile: gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSING_GENERATED_CONFIG_H -Iinclude -I/«BUILDDIR»/libsdl2-2.0.2+dfsg1/include -mmmx -m3dnow -msse -fvisibility=hidden -D_REENTRANT -pthread -I/usr/include/mirclient -I/usr/include/mircommon -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c /«BUILDDIR»/libsdl2-2.0.2+dfsg1/src/video/mir/SDL_mirdyn.c -fPIC -DPIC -o build/.libs/SDL_mirdyn.o
/bin/bash ./libtool --mode=compile gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -DUSING_GENERATED_CONFIG_H -Iinclude -I/«BUILDDIR»/libsdl2-2.0.2+dfsg1/include -mmmx -m3dnow -msse -fvisibility=hidden -D_REENTRANT -pthread -I/usr/include/mirclient -I/usr/include/mircommon -I/usr/include/libdrm -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -c /«BUILDDIR»/libsdl2-2.0.2+dfsg1/src/video/mir/SDL_mirevents.c -o build/SDL_mirevents.lo
In file included from /«BUILDDIR»/libsdl2-2.0.2+dfsg1/src/video/mir/SDL_mirdyn.c:27:0:
/«BUILDDIR»/libsdl2-2.0.2+dfsg1/src/video/mir/SDL_mirdyn.h:41:17: error: expected declaration specifiers or '...' before '*' token
typedef rc (*SDL_DYNMIRFN_##fn) params; \
^
/«BUILDDIR»/libsdl2-2.0.2+dfsg1/src/video/mir/SDL_mirsym.h:29:1: note: in expansion of macro 'SDL_MIR_SYM'
SDL_MIR_SYM(MirBool,mir_connection_is_valid,(MirConnection *connection))
^
/«BUILDDIR»/libsdl2-2.0.2+dfsg1/src/video/mir/SDL_mirdyn.h:42:12: error: unknown type name 'SDL_DYNMIRFN_mir_connection_is_valid'
extern SDL_DYNMIRFN_##fn MIR_##fn;
^
/«BUILDDIR»/libsdl2-2.0.2+dfsg1/src/video/mir/SDL_mirsym.h:29:1: note: in expansion of macro 'SDL_MIR_SYM'
SDL_MIR_SYM(MirBool,mir_connection_is_valid,(MirConnection *connection))
^
...
Full log in
https://launchpadlibrarian.net/219830924/buildlog_ubuntu-wily-i386.libsdl2_2.0.2%2Bdfsg1-6ubuntu2_BUILDING.txt.gz
fixed since a lot of time