Hi, I tried with simplified versions of your package definition and patch, and it builds fine for me. The patch gets applied successfully. However I haven't tried using the program to see if it works.