summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorsbd <sbd>2013-03-21 06:49:12 +0000
committersbd <sbd>2013-03-21 06:49:12 +0000
commit15ce837eac786bfc72a7ed34453c7e8e2c7adead (patch)
treec6e5c067f588502370d94f3783323fe3a052547e /comms
parent00e73bb72c948af19d4e7bcf904a953c45be202b (diff)
downloadpkgsrc-15ce837eac786bfc72a7ed34453c7e8e2c7adead.tar.gz
Make sure that bt_addr_t is defined.
Diffstat (limited to 'comms')
-rw-r--r--comms/openobex/distinfo3
-rw-r--r--comms/openobex/patches/patch-lib_api.c17
2 files changed, 19 insertions, 1 deletions
diff --git a/comms/openobex/distinfo b/comms/openobex/distinfo
index 3657f83330e..e3d06ac400b 100644
--- a/comms/openobex/distinfo
+++ b/comms/openobex/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2013/03/15 08:10:04 plunky Exp $
+$NetBSD: distinfo,v 1.8 2013/03/21 06:49:12 sbd Exp $
SHA1 (openobex-1.7-Source.tar.gz) = 9fb8de31b551fd116991641f296d64be98f84b27
RMD160 (openobex-1.7-Source.tar.gz) = f4b80ac9533953312c0482e83ec5445550100eb6
Size (openobex-1.7-Source.tar.gz) = 130372 bytes
+SHA1 (patch-lib_api.c) = 4ea3f2b8179a52a4d1266395a4f20b572582903f
diff --git a/comms/openobex/patches/patch-lib_api.c b/comms/openobex/patches/patch-lib_api.c
new file mode 100644
index 00000000000..58b6e640551
--- /dev/null
+++ b/comms/openobex/patches/patch-lib_api.c
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_api.c,v 1.1 2013/03/21 06:49:12 sbd Exp $
+
+Make sure that bt_addr_t is defined.
+
+--- lib/api.c.orig 2013-03-02 14:25:42.000000000 +0000
++++ lib/api.c
+@@ -64,6 +64,10 @@
+
+ #include "obex_incl.h"
+
++#if !defined(bt_addr_t)
++#define bt_addr_t void
++#endif
++
+ /**
+ Initialize OBEX.
+ \param transport Which transport to use. The following transports are available :