[gnome-phone-manager] Add patch for bluetooth API change
Milan Crha
mcrha at fedoraproject.org
Mon Nov 28 11:32:31 UTC 2011
commit 6596ca09bee0eae73809bd3d1f988160e9754f24
Author: Milan Crha <mcrha at redhat.com>
Date: Mon Nov 28 12:32:15 2011 +0100
Add patch for bluetooth API change
...e-phone-manager-0.66-bluetooth-api-change.patch | 12 ++++++++++++
gnome-phone-manager.spec | 3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gnome-phone-manager-0.66-bluetooth-api-change.patch b/gnome-phone-manager-0.66-bluetooth-api-change.patch
new file mode 100644
index 0000000..5e9e206
--- /dev/null
+++ b/gnome-phone-manager-0.66-bluetooth-api-change.patch
@@ -0,0 +1,12 @@
+diff -up gnome-phone-manager-0.66/gnome-bluetooth/phonemgr.c.bluetooth-api-change gnome-phone-manager-0.66/gnome-bluetooth/phonemgr.c
+--- gnome-phone-manager-0.66/gnome-bluetooth/phonemgr.c.bluetooth-api-change 2011-11-28 12:29:37.365593771 +0100
++++ gnome-phone-manager-0.66/gnome-bluetooth/phonemgr.c 2011-11-28 12:29:39.910625478 +0100
+@@ -44,7 +44,7 @@ get_type (const char *address)
+ gboolean cont;
+
+ client = bluetooth_client_new ();
+- model = bluetooth_client_get_device_model (client, NULL);
++ model = bluetooth_client_get_device_model (client);
+ if (model == NULL) {
+ g_object_unref (client);
+ return type;
diff --git a/gnome-phone-manager.spec b/gnome-phone-manager.spec
index 24b98f9..d0c34e6 100644
--- a/gnome-phone-manager.spec
+++ b/gnome-phone-manager.spec
@@ -22,6 +22,7 @@ BuildRequires: gettext
BuildRequires: desktop-file-utils
Patch01: gnome-phone-manager-0.66-no-g-thread-init.patch
+Patch02: gnome-phone-manager-0.66-bluetooth-api-change.patch
%description
This program will connect to your mobile phone over a serial port,
@@ -45,6 +46,7 @@ Instant Messaging application that uses Telepathy, such as Empathy.
%prep
%setup -q
%patch01 -p1 -b .no-g-thread-init
+%patch02 -p1 -b .bluetooth-api-change
%build
%configure
@@ -108,6 +110,7 @@ fi
* Mon Nov 28 2011 Milan Crha <mcrha at redhat.com> 0.66-8
- Rebuild against newer evolution-data-server
- Add patch to drop g_thread_init() calls
+- Add patch for bluetooth API change
* Sun Oct 30 2011 Bruno Wolff III <bruno at wolff.to> - 0.66-7
- Rebuild against newer evolution-data-server
More information about the scm-commits
mailing list