Message 99364 - Python tracker
In my testing of issue 3920 I missed that the original approach also fixed the ncurses.h problem, so it should be preferred over bsd3.diff. I attach a patch that reverts the recent commit and extends the xopen_source=no up to version 4.9. I've tested it on 4.4 and 4.6, johns did essentially the same on 4.7. I agree with Skip and johns that at least all 4.* versions should be covered, otherwise we have this situation every 6 months.