WINDOW struct was turned opaque in recent versions, meaning that direct access to struct members is no longer supported. Add patch to replace direct access with calls to getter functions.
···35353636 # call to undeclared function 'sighandler' & undefined sighandler on Darwin
3737 ./0002-fix-sighandler.patch
3838+3939+ # ncurses' WINDOW struct was turned opaque for outside code, use functions for accessing values instead
4040+ ./0003-fix-ncurses-opaque-WINDOW.patch
3841 ];
39424043 postPatch = ''