There is an inconsistency in the intent settings of procedure parameters in qsort functions. This patch was needed to build with gfortran-4.7.1.
Patch to set compare arguments intent(in)
Patch to set compare arguments intent(in)