Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH 0/3] Various build fixes for building bluez with musl libc
@ 2014-03-14  9:59 Natanael Copa
  2014-03-14  9:59 ` [PATCH 1/3] shared: include endian.h for be32toh, htobe32 and htobe64 functions Natanael Copa
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Natanael Copa @ 2014-03-14  9:59 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Natanael Copa

The following fixes are needed to make bluez build on Alpine Linuz with
musl libc.

This is kind of a rebase of the previously posted patches:
http://www.spinics.net/lists/linux-bluetooth/msg43070.html

Changes since then are:
- mention Alpine Linux in commit message
- rebase to current git
- added fix for proper header include for be32toh, htobe32 and htobe64

Please note that "unit: prevent unintended use of glibc's error(3)"
fixes a bug in the unit test that affects glibc too. I suppose that if
you add a testcase that triggers any error logging from sdpd-request.c
it will likely segfault instead of gracfully hande the error condition.
(it only affects the unit test though)

Natanael Copa (3):
  shared: include endian.h for be32toh, htobe32 and htobe64 functions
  unit: prevent unintended use of glibc's error(3)
  bnep: avoid use of caddr_t

 Makefile.am             | 1 +
 profiles/network/bnep.c | 4 ++--
 src/shared/btsnoop.c    | 1 +
 unit/test-sdp.c         | 9 +++------
 4 files changed, 7 insertions(+), 8 deletions(-)

-- 
1.9.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-03-14 11:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14  9:59 [PATCH 0/3] Various build fixes for building bluez with musl libc Natanael Copa
2014-03-14  9:59 ` [PATCH 1/3] shared: include endian.h for be32toh, htobe32 and htobe64 functions Natanael Copa
2014-03-14  9:59 ` [PATCH 2/3] unit: prevent unintended use of glibc's error(3) Natanael Copa
2014-03-14  9:59 ` [PATCH 3/3] bnep: avoid use of caddr_t Natanael Copa
2014-03-14 11:07 ` [PATCH 0/3] Various build fixes for building bluez with musl libc Johan Hedberg
2014-03-14 11:30   ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox