diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-23 19:57:59 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-03-23 19:57:59 +0000 |
| commit | cae842bacf2b26e4674d7c2c6d46cc91f05493ac (patch) | |
| tree | 5ffde29db73b3158aebf997caf8da34daaee6f76 /comms/openobex/files/patch-src-obex.c | |
| parent | - only shared libraries should be build with -fPIC on amd64 and ia64 (diff) | |
Add openobex, a library for OBEX (Object Exchange), a protocol to exchange
a data over infrared and Bluetooth.
This port is adapted to work with FreeBSD Bluetooth stack.
PR: ports/64596
Submitted by: Guido Falsi <mad@madpilot.net>
Notes
Notes:
svn path=/head/; revision=105079
Diffstat (limited to 'comms/openobex/files/patch-src-obex.c')
| -rw-r--r-- | comms/openobex/files/patch-src-obex.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/comms/openobex/files/patch-src-obex.c b/comms/openobex/files/patch-src-obex.c new file mode 100644 index 000000000000..9091c8e6c917 --- /dev/null +++ b/comms/openobex/files/patch-src-obex.c @@ -0,0 +1,26 @@ +--- src/obex.c.orig Mon Mar 22 18:16:53 2004 ++++ src/obex.c Mon Mar 22 18:21:35 2004 +@@ -990,7 +990,11 @@ + + #ifdef HAVE_BLUETOOTH + if(src == NULL) ++#ifdef HAVE_BLUETOOTH_NETGRAPH ++ src = NG_HCI_BDADDR_ANY; ++#else /*HAVE_BLUETOOTH_NETGRAPH*/ + src = BDADDR_ANY; ++#endif /*HAVE_BLUETOOTH_NETGRAPH*/ + btobex_prepare_listen(self, src, channel); + return obex_transport_listen(self); + #else +@@ -1019,7 +1023,11 @@ + + #ifdef HAVE_BLUETOOTH + if(src == NULL) ++#ifdef HAVE_BLUETOOTH_NETGRAPH ++ src = NG_HCI_BDADDR_ANY; ++#else /*HAVE_BLUETOOTH_NETGRAPH*/ + src = BDADDR_ANY; ++#endif /*HAVE_BLUETOOTH_NETGRAPH*/ + btobex_prepare_connect(self, src, dst, channel); + return obex_transport_connect_request(self); + #else |
