Due to conflicts in error handlers between OGR and MapServer, we need to upgrade mapserver to use GEOS's thread-safe API (in order to use an application specific handle instead of globally setting GEOS's error handlers). c.f. #4733 . This will imply that 3.1.0 becomes the minimal supported GEOS version.
GDAL/OGR also made the same switch: http://lists.osgeo.org/pipermail/gdal-dev/2013-August/036877.html
use thread safe GEOS API (#4738)
fix missing changes to thread-safe api
missing switch to thread-safe
more thorough cleanup
Use thread safe GEOS API (requires GEOS >= 3.1.0) (#4738)
applied to master in c626baa