The following patch adds support for X265_BUILD >= 40 by splitting the noiseReduction parameter to noiseReductionIntra and noiseReductionInter if the version of x265 is >= 40. In short, it fixes the build for new (> December 4th 2014) versions of x265.
Apply with patch -p1 < noiseReductionV40.patch
Thanks mean!
tested an builds ok now. thnx