summaryrefslogtreecommitdiff
path: root/sysutils/netbt-hcidump/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/netbt-hcidump/patches/patch-ac')
-rw-r--r--sysutils/netbt-hcidump/patches/patch-ac41
1 files changed, 0 insertions, 41 deletions
diff --git a/sysutils/netbt-hcidump/patches/patch-ac b/sysutils/netbt-hcidump/patches/patch-ac
deleted file mode 100644
index 2988c856661..00000000000
--- a/sysutils/netbt-hcidump/patches/patch-ac
+++ /dev/null
@@ -1,41 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2010/12/19 20:20:42 plunky Exp $
-
---- bluetooth/hci.h.orig 2010-09-30 08:53:08.000000000 +0000
-+++ bluetooth/hci.h
-@@ -39,6 +39,7 @@ extern "C" {
- #define HCI_MAX_EVENT_SIZE 260
- #define HCI_MAX_FRAME_SIZE (HCI_MAX_ACL_SIZE + 4)
-
-+#if 0
- /* HCI dev events */
- #define HCI_DEV_REG 1
- #define HCI_DEV_UNREG 2
-@@ -101,6 +102,7 @@ enum {
- #define HCIUNBLOCKADDR _IOW('H', 231, int)
-
- #define HCIINQUIRY _IOR('H', 240, int)
-+#endif
-
- #ifndef __NO_HCI_DEFS
-
-@@ -2232,6 +2234,7 @@ typedef struct {
-
- #endif /* _NO_HCI_DEFS */
-
-+#if 0
- /* HCI Socket options */
- #define HCI_DATA_DIR 1
- #define HCI_FILTER 2
-@@ -2339,6 +2342,12 @@ struct hci_inquiry_req {
- uint8_t num_rsp;
- };
- #define IREQ_CACHE_FLUSH 0x0001
-+#else
-+#define HCI_CMSG_DIR SCM_HCI_DIRECTION
-+#define HCI_CMSG_TSTAMP SCM_TIMESTAMP
-+#define HCI_DEV_NONE NULL
-+#define HCI_DATA_DIR SO_HCI_DIRECTION
-+#endif
-
- #ifdef __cplusplus
- }