tvheadend/tvheadend — pull request #317 by decke (2014-01-05 21:25:35+00:00)
Title: various compile fixes for clang and FreeBSD

The patches fix various compile warnings noticed by clang 3.3 on FreeBSD and also to wrap Linuxisms with proper ifdef PLATFORM_LINUX.

The patch for support/posix.mk fixes an annoying packaging issue for all distributions I'd guess. The correct path for manpages is $mandir + man1 section on almost all Linux distributions including FreeBSD.