The original patch was written by Jan Beich in the PR mentioned
below. I haven't been able to fully build x11/qt4-opengl yet due to
other errors which show up later, but at least this one problem is
solved, and the fix will be included in the next Qt 4.8 release.
No PORTREVISION bump, as users of other standard C++ libraries are not
affected, and no dependencies have been changed.
PR: ports/169871
Submitted by: Jan Beich <jbeich@tormail.org>