Security patches removed, since all of them appear to be merged
upstream, APIWARN diffs kept. The atexit workaround introduced by jolan
is not needed any more.
The port now explicitely requests gnu11 support. I did not change the
feature set (no libjpeg, no opengl) to ease the update. People can
enable stuff later if they need to.
Testing quirks:
- not enabling jpeg means that the two first tests fail
- shells/bash should be installed at *configure* time in order for tests
to be picked up; maybe we should add a "test" FLAVOR so that regular
builds aren't affected?
Tested on amd64 and arm, bulk build + ok ajacoutot@ (thanks!)