Update the Mesa ports to the current version. libosmesa needs to run autoreconf since the same build cropped up with the packaged configure script in this version that I saw in 17.0.5.
Add a commit revert patch for 10.x to keep HW accel working on Intel. cpm reported that his gen6 system lost HW accel upgrading from Mesa 17.0.4 to 17.1.0 and it was due to this commit. As I have no issue on 11.0, the feature check is catching some difference between 10.x and 11.x