Index: modules/contact/contact.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact/contact.install,v
retrieving revision 1.25
diff -u -p -r1.25 contact.install
--- modules/contact/contact.install	8 Jun 2010 03:48:14 -0000	1.25
+++ modules/contact/contact.install	30 Nov 2010 14:36:55 -0000
@@ -90,6 +90,19 @@ function contact_uninstall() {
 }
 
 /**
+ * Implements hook_update_dependencies().
+ */
+function contact_update_dependencies() {
+  // contact_update_7002() relies on the {role_permission} table being updated
+  // to the new format and filled with module data.
+  $dependencies['contact'][7002] = array(
+    'system' => 7007,
+  );
+
+  return $dependencies;
+}
+
+/**
  * @defgroup updates-6.x-to-7.x Contact updates from 6.x to 7.x
  * @{
  */
