mapserver/mapserver — pull request #4317 by tbonfort (2012-05-15 13:13:19+00:00)
Title: fix raster classification on colormapped rasters (#4316)

Classification code used colorObj->pen to specify the current
colortable entry's index. "pen" is GD specific and was removed
when GD support was rendered optional, so the msGetClass function
is now modified to not rely on it.

cc @warmerdam

this commit fixes #4316