Fix a compiler warning
-Wunused-local-typedefs
from Yuri Fisyak: add compilation of scalar version of trigonometric.cpp
Fixes for 5.34 patches