Package: ussp-push
Version: 0.9-2
User: fili...@debian.org
Usertags: bluez4-transition

Hi,
your package seems to build-depend on libbluetooth2-dev, however it has been
deprecated in favour of versionless libbluetooth-dev, please update.

Also, building the package I found that it makes uses of a deprecated function
in libbluetooth3, the following trivial patch fixes it:

--- ussp-push-0.9.orig/obex_socket.c    2006-03-09 22:01:12.000000000 +0100
+++ ussp-push-0.9/obex_socket.c 2009-05-24 12:54:00.000000000 +0200
@@ -197,7 +197,7 @@
        for (i = 0; i < niinf; i++) {
                char devname[128];
 
-               if (hci_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) - 1,
+               if (hci_read_remote_name(dd, &piinf[i].bdaddr, sizeof(devname) 
- 1,
                                    devname, 100000) >= 0) {
                        if (strcasecmp(devname, btname) == 0) {
                                *btaddr = piinf[i].bdaddr;

thanks,
filippo



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to