The added patch fixes a bug with darktable preferences dialog. The current code relies on GCC's decision regarding an undefined behaviour with float/inv conversions. It is almost working with Clang up-to 3.5 but is broken with Clang 3.6.
The patch will be committed upstream shortly.