diff options
| author | plunky <plunky> | 2014-12-27 11:59:22 +0000 |
|---|---|---|
| committer | plunky <plunky> | 2014-12-27 11:59:22 +0000 |
| commit | bd993cf4f680aec2d296ff727252b7e54162b2ce (patch) | |
| tree | e6c6d51ba0c6106bd607d01e3fca7e8e3e361ed8 /sysutils/netbt-hcidump/patches/patch-ad | |
| parent | d90eb1d3f903a24d0cfd20f0bc5b7c708c6f7056 (diff) | |
| download | pkgsrc_2011Q3.tar.gz | |
re-add these files. (previous commit my mistake, wrong tag)pkgsrc_2011Q3
Diffstat (limited to 'sysutils/netbt-hcidump/patches/patch-ad')
| -rw-r--r-- | sysutils/netbt-hcidump/patches/patch-ad | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sysutils/netbt-hcidump/patches/patch-ad b/sysutils/netbt-hcidump/patches/patch-ad new file mode 100644 index 00000000000..dcdb289762e --- /dev/null +++ b/sysutils/netbt-hcidump/patches/patch-ad @@ -0,0 +1,50 @@ +$NetBSD: patch-ad,v 1.1.1.1.8.2 2014/12/27 11:59:22 plunky Exp $ + +--- bluetooth/hci_lib.h.orig 2010-09-30 08:53:08.000000000 +0000 ++++ bluetooth/hci_lib.h +@@ -30,6 +30,7 @@ + extern "C" { + #endif + ++#if 0 + struct hci_request { + uint16_t ogf; + uint16_t ocf; +@@ -135,11 +136,15 @@ char *hci_bustostr(int bus); + char *hci_typetostr(int type); + char *hci_dtypetostr(int type); + char *hci_dflagstostr(uint32_t flags); ++#endif + char *hci_ptypetostr(unsigned int ptype); ++#if 0 + int hci_strtoptype(char *str, unsigned int *val); + char *hci_scoptypetostr(unsigned int ptype); + int hci_strtoscoptype(char *str, unsigned int *val); ++#endif + char *hci_lptostr(unsigned int ptype); ++#if 0 + int hci_strtolp(char *str, unsigned int *val); + char *hci_lmtostr(unsigned int ptype); + int hci_strtolm(char *str, unsigned int *val); +@@ -147,9 +152,13 @@ int hci_strtolm(char *str, unsigned int + char *hci_cmdtostr(unsigned int cmd); + char *hci_commandstostr(uint8_t *commands, char *pref, int width); + ++#endif + char *hci_vertostr(unsigned int ver); ++#if 0 + int hci_strtover(char *str, unsigned int *ver); ++#endif + char *lmp_vertostr(unsigned int ver); ++#if 0 + int lmp_strtover(char *str, unsigned int *ver); + + char *lmp_featurestostr(uint8_t *features, char *pref, int width); +@@ -218,6 +227,7 @@ static inline int hci_filter_test_opcode + { + return (f->opcode == opcode); + } ++#endif + + #ifdef __cplusplus + } |
