diff options
author | sbd <sbd@pkgsrc.org> | 2013-03-21 06:49:12 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2013-03-21 06:49:12 +0000 |
commit | 707492b0585e92b166ff084e743edf83501bbd5b (patch) | |
tree | c6e5c067f588502370d94f3783323fe3a052547e /comms | |
parent | 4132edbf862c6333238e506d964056830c875601 (diff) | |
download | pkgsrc-707492b0585e92b166ff084e743edf83501bbd5b.tar.gz |
Make sure that bt_addr_t is defined.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/openobex/distinfo | 3 | ||||
-rw-r--r-- | comms/openobex/patches/patch-lib_api.c | 17 |
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 : |