Add ckan patch. PR submitted to CKAN, see https://github.com/ckan/ckan/pull/1962