summaryrefslogtreecommitdiff
path: root/comms/openobex/files/patch-lib-obex_transport.h
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-06 22:29:53 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-06 22:29:53 +0000
commit7a2669d2b2106364ac54805b95f049ac539bb9e9 (patch)
tree38a68d76db11d935e9ef6054c5b58fa813b7bdb1 /comms/openobex/files/patch-lib-obex_transport.h
parentUpdate to 0.35.1. (diff)
Restore patches to fix build.
PR: ports/106357 Submitted by: pluknet <pluknet@gmail.com> Approved by: Guido Falsi <mad@madpilot.net> (maintainer)
Notes
Notes: svn path=/head/; revision=179063
Diffstat (limited to 'comms/openobex/files/patch-lib-obex_transport.h')
-rw-r--r--comms/openobex/files/patch-lib-obex_transport.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/comms/openobex/files/patch-lib-obex_transport.h b/comms/openobex/files/patch-lib-obex_transport.h
new file mode 100644
index 000000000000..a7edc88b1366
--- /dev/null
+++ b/comms/openobex/files/patch-lib-obex_transport.h
@@ -0,0 +1,27 @@
+--- lib/obex_transport.h.orig Thu May 4 13:24:21 2006
++++ lib/obex_transport.h Sat Nov 25 22:34:03 2006
+@@ -40,8 +40,12 @@
+ #include "irda_wrap.h"
+ #endif /*HAVE_IRDA*/
+ #ifdef HAVE_BLUETOOTH
++#ifdef HAVE_BLUETOOTH_NETGRAPH
++#include <bluetooth.h>
++#else /*HAVE_BLUETOOTH_NETGRAPH*/
+ #include <bluetooth/bluetooth.h>
+ #include <bluetooth/rfcomm.h>
++#endif /*HAVE_BLUETOOTH_NETGRAPH*/
+ #endif /*HAVE_BLUETOOTH*/
+ #ifdef HAVE_USB
+ #include "usbobex.h"
+@@ -55,7 +59,11 @@
+ #endif /*HAVE_IRDA*/
+ struct sockaddr_in inet;
+ #ifdef HAVE_BLUETOOTH
++#ifdef HAVE_BLUETOOTH_NETGRAPH
++ struct sockaddr_rfcomm rfcomm;
++#else /*HAVE_BLUETOOTH_NETGRAPH*/
+ struct sockaddr_rc rfcomm;
++#endif /*HAVE_BLUETOOTH_NETGRAPH*/
+ #endif /*HAVE_BLUETOOTH*/
+ #ifdef HAVE_USB
+ struct obex_usb_intf_transport_t usb;