Apply blackhat-gcc48.patch from cmsdist.
Apply blackhat-0.9.9-armv7hl.patch
Apply blackhat-no_warnings.patch