summaryrefslogtreecommitdiff
path: root/sysutils/netbt-hcidump/patches/patch-ab
diff options
context:
space:
mode:
authorplunky <plunky>2011-06-19 12:25:42 +0000
committerplunky <plunky>2011-06-19 12:25:42 +0000
commita43636fd65071739e1987e0351a398e6e101cf95 (patch)
tree43855f0f6431524082d7cd68675ce0279e4329a7 /sysutils/netbt-hcidump/patches/patch-ab
parent7494fd4d907ecff3046903e502bfe369c026e5f6 (diff)
downloadpkgsrc-a43636fd65071739e1987e0351a398e6e101cf95.tar.gz
retain bt_compidtostr() prototype to fix a potential build error
Diffstat (limited to 'sysutils/netbt-hcidump/patches/patch-ab')
-rw-r--r--sysutils/netbt-hcidump/patches/patch-ab7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/netbt-hcidump/patches/patch-ab b/sysutils/netbt-hcidump/patches/patch-ab
index f44d6443d38..66710c7240f 100644
--- a/sysutils/netbt-hcidump/patches/patch-ab
+++ b/sysutils/netbt-hcidump/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.1.1.1 2010/12/19 20:20:42 plunky Exp $
+$NetBSD: patch-ab,v 1.2 2011/06/19 12:25:42 plunky Exp $
--- bluetooth/bluetooth.h.orig 2009-11-30 19:29:17.000000000 +0000
+++ bluetooth/bluetooth.h
@@ -57,7 +57,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2010/12/19 20:20:42 plunky Exp $
int str2ba(const char *str, bdaddr_t *ba);
int ba2oui(const bdaddr_t *ba, char *oui);
int bachk(const char *str);
-@@ -146,12 +163,15 @@ int baprintf(const char *format, ...);
+@@ -146,11 +163,14 @@ int baprintf(const char *format, ...);
int bafprintf(FILE *stream, const char *format, ...);
int basprintf(char *str, const char *format, ...);
int basnprintf(char *str, size_t size, const char *format, ...);
@@ -68,8 +68,7 @@ $NetBSD: patch-ab,v 1.1.1.1 2010/12/19 20:20:42 plunky Exp $
+#if 0
int bt_error(uint16_t code);
- char *bt_compidtostr(int id);
+#endif
+ char *bt_compidtostr(int id);
#ifdef __cplusplus
- }