Bug#661338: linphone: FTBFS on kfreebsd: linux-only v4l support

Pino Toscano pino at debian.org
Sun Feb 26 14:30:11 UTC 2012

Package: linphone
Version: 3.5.2-2
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)
User: debian-bsd at lists.debian.org
Usertags: kfreebsd


linphone 3.5.x currently fails to build on kFreeBSD.

The problem is that the mediastreamer2 configure detects the Linux
v4l headers (linux/videodev.h and linux/videodev2.h) that newer FreeBSD
kernels provide, but then the v4l code assumes is it a Linux system.
The solution is to disable the v4l1/2 support in any non-Linux OS
(patch non-linux.diff, which also explicitly disables ALSA); although,
to really disable the detection of the videodev*.h headers,
mediastreamer2's configure has to be patched to do the lookup only if
the current OS is linux (patch linux_headers_linux_only.diff).
Please note the latest patch needs autoreconf, which seems to work only
using the provided autogen.sh (and not manually calling autoreconf).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: non-linux.diff
Type: text/x-diff
Size: 479 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20120226/eafaf50b/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_headers_linux_only.diff
Type: text/x-diff
Size: 843 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20120226/eafaf50b/attachment-0001.diff>

More information about the Pkg-voip-maintainers mailing list