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.
···3536 # call to undeclared function 'sighandler' & undefined sighandler on Darwin
37 ./0002-fix-sighandler.patch
00038 ];
3940 postPatch = ''
···3536 # call to undeclared function 'sighandler' & undefined sighandler on Darwin
37 ./0002-fix-sighandler.patch
38+39+ # ncurses' WINDOW struct was turned opaque for outside code, use functions for accessing values instead
40+ ./0003-fix-ncurses-opaque-WINDOW.patch
41 ];
4243 postPatch = ''