Hi,
it seems that the coccinelle package in Debian Jessie is not able to parse semantic patches [1]. This basically breaks the batman-adv build on many stable systems and thus makes the out-of-tree module unusable on these systems.
I have currently no better idea than reverting these patches.
Kind regards, Sven
PS: Linus, do you want to try to get rid of replacement.sh?