summaryrefslogtreecommitdiff
path: root/comms/obexapp/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'comms/obexapp/patches/patch-aa')
-rw-r--r--comms/obexapp/patches/patch-aa29
1 files changed, 17 insertions, 12 deletions
diff --git a/comms/obexapp/patches/patch-aa b/comms/obexapp/patches/patch-aa
index 5fcd5c57f3f..1063f94862c 100644
--- a/comms/obexapp/patches/patch-aa
+++ b/comms/obexapp/patches/patch-aa
@@ -1,16 +1,21 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/07/02 18:18:34 xtraeme Exp $
+$NetBSD: patch-aa,v 1.2 2006/07/09 16:35:31 xtraeme Exp $
---- obexapp.h.orig 2006-07-02 19:32:51.000000000 +0200
-+++ obexapp.h 2006-07-02 19:33:45.000000000 +0200
-@@ -71,7 +71,11 @@
+--- obexapp.h.orig 2004-12-29 22:49:05.000000000 +0100
++++ obexapp.h 2006-07-09 18:23:44.000000000 +0200
+@@ -32,6 +32,16 @@
+ #ifndef _OBEXAPP_H_
+ #define _OBEXAPP_H_
- struct context
- {
+#ifdef __NetBSD__
-+ struct sockaddr_bt addr; /* remote address */
-+#else
- struct sockaddr_rfcomm addr; /* remote address */
++#define BLUETOOTH_PROTO_RFCOMM BTPROTO_RFCOMM
++#define NG_HCI_BDADDR_ANY BDADDR_ANY
++#define sockaddr_rfcomm sockaddr_bt
++#define rfcomm_bdaddr bt_bdaddr
++#define rfcomm_channel bt_channel
++#define rfcomm_len bt_len
++#define rfcomm_family bt_family
+#endif
- bdaddr_t saddr; /* local address */
- char *root; /* root path */
- char *user; /* user */
++
+ /*
+ * Defines
+ */