aboutsummaryrefslogtreecommitdiffstats
path: root/main/bluez-hcidump/ntoh64.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-06 19:40:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-06 19:41:05 +0000
commitbeb1b1720862c18461a3488b1c15211df9c9ce14 (patch)
treeb6ad69fbf11d3812aa799de59659284fbed86ffd /main/bluez-hcidump/ntoh64.patch
parent8d36e7d94c0c940d7eac811b442e210221e1275f (diff)
downloadaports-beb1b1720862c18461a3488b1c15211df9c9ce14.tar.bz2
aports-beb1b1720862c18461a3488b1c15211df9c9ce14.tar.xz
main/bluez-hcidump: moved from testing
Diffstat (limited to 'main/bluez-hcidump/ntoh64.patch')
-rw-r--r--main/bluez-hcidump/ntoh64.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/bluez-hcidump/ntoh64.patch b/main/bluez-hcidump/ntoh64.patch
new file mode 100644
index 0000000000..6ab411f54b
--- /dev/null
+++ b/main/bluez-hcidump/ntoh64.patch
@@ -0,0 +1,19 @@
+--- ./src/hcidump.c.orig
++++ ./src/hcidump.c
+@@ -51,6 +51,8 @@
+ #include "parser/sdp.h"
+
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
++#if 0
++/* defined in bluetooth.h from bluez */
+ static inline uint64_t ntoh64(uint64_t n)
+ {
+ uint64_t h;
+@@ -59,6 +61,7 @@
+ h |= tmp << 32;
+ return h;
+ }
++#endif
+ #elif __BYTE_ORDER == __BIG_ENDIAN
+ #define ntoh64(x) (x)
+ #else