I tried Christophe's patch. It does not fix the build. Package still FTBFS with "initializer element is not constant" error.
Currently gcc-6 is used as default compiler, by changing the compiler to gcc-5 testdisk builds successfully.
I tried Christophe's patch. It does not fix the build. Package still FTBFS with "initializer element is not constant" error.
Currently gcc-6 is used as default compiler, by changing the compiler to gcc-5 testdisk builds successfully.