aboutsummaryrefslogtreecommitdiffstats
path: root/main/bluez/fix-endianness.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-05 15:16:11 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-07 04:45:26 +0000
commit1c6991b32a22be2c905cc1709be1376c4e79e451 (patch)
treee3e57204946f96fae0326b1f90befa38c0d233fa /main/bluez/fix-endianness.patch
parentb0d4dd347d6e6db48a4d090c9852a915c7631d98 (diff)
downloadaports-1c6991b32a22be2c905cc1709be1376c4e79e451.tar.gz
aports-1c6991b32a22be2c905cc1709be1376c4e79e451.tar.bz2
aports-1c6991b32a22be2c905cc1709be1376c4e79e451.tar.xz
main/bluez: modernise, fix endianness bug, add check
Diffstat (limited to 'main/bluez/fix-endianness.patch')
-rw-r--r--main/bluez/fix-endianness.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/bluez/fix-endianness.patch b/main/bluez/fix-endianness.patch
new file mode 100644
index 0000000000..ee0e0d1e3e
--- /dev/null
+++ b/main/bluez/fix-endianness.patch
@@ -0,0 +1,10 @@
+--- bluez-5.47/src/shared/util.h.old 2016-09-26 07:29:00.000000000 -0500
++++ bluez-5.47/src/shared/util.h 2017-12-27 22:49:50.538716424 -0600
+@@ -26,6 +26,7 @@
+ #include <alloca.h>
+ #include <byteswap.h>
+ #include <string.h>
++#include <endian.h>
+
+ #if __BYTE_ORDER == __LITTLE_ENDIAN
+ #define le16_to_cpu(val) (val)