All patches were taken from pkgsrc. --HG-- extra : convert_revision : a90ff297c78014f6ebc8e1361eadcbcd90d7e367
--HG-- extra : convert_revision : fac7e4b80eb7b0050e802441ac8174ec09727a25