The trunk version didn't compile with the patch.
Checked out the 1817 version, applied the patch, compiled and successfully read and write a Pm25LD020 2Mbit SPI

Thank you!