diff options
| author | Michael Biebl <biebl@debian.org> | 2007-10-22 15:09:38 +0000 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2007-10-22 15:09:38 +0000 |
| commit | 72482de1cc44c8b01220e45f7391282abfc52d76 (patch) | |
| tree | 4402dbb65a5f7fe145dfcbdde9f03c2e2d2d1054 /debian/patches | |
| parent | 0bb60eff4e78e18e793862e8e06d5235f19c3552 (diff) | |
* debian/patches/23-rfkill_return_type.patch debian/0.6.5-3
- The return type of the GetPower() method from Device.Killswitch has
changed from UINT32 to INT32 in hal-0.5.10. Fix the code accordingly.
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-utopia/packages/unstable/networkmanager@1824 ceb527fc-18e6-0310-9fe2-813c157c29e7
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/23-rfkill_return_type.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/23-rfkill_return_type.patch b/debian/patches/23-rfkill_return_type.patch new file mode 100644 index 00000000..1e327d46 --- /dev/null +++ b/debian/patches/23-rfkill_return_type.patch @@ -0,0 +1,22 @@ +Index: src/NetworkManager.c +=================================================================== +--- src/NetworkManager.c (Revision 2974) ++++ src/NetworkManager.c (Arbeitskopie) +@@ -339,7 +339,7 @@ + { + DBusError err; + DBusMessage * reply = NULL; +- guint32 status; ++ gint32 status; + + g_return_if_fail (pcall != NULL); + g_return_if_fail (data != NULL); +@@ -358,7 +358,7 @@ + goto out; + } + +- if (!dbus_message_get_args (reply, &err, DBUS_TYPE_UINT32, &status, DBUS_TYPE_INVALID)) { ++ if (!dbus_message_get_args (reply, &err, DBUS_TYPE_INT32, &status, DBUS_TYPE_INVALID)) { + nm_info ("Error getting killswitch power arguments: %s - %s", err.name, err.message); + dbus_error_free (&err); + goto out; |