Bug#763398: handbrake: FTBFS on hurd-i386

Svante Signell svante.signell at gmail.com
Mon Sep 29 21:19:51 UTC 2014


Source: handbrake
Version: 0.9.9+svn6422+dfsg1-1
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

Currently handbrake fails to build from source due to usage of
PATH_MAX, which is not defined on GNU/Hurd. Another issue is missing
linkage with libpthread, the same as for kFreeBSD, see #730976

For the PATH_MAX issues strcmp and strlen are used instead of strncmp
and strnlen, respectively. According to the submitters knowledge there
is no big difference between these functions, and the chosen functions
avoid the on some systems undefined constant PATH_MAX. If there is a
wish to keep the old code a conditional test can easily be made, please
let me know, and I'll create a patch depending on if PATH_MAX is
defined or not.

The attached patch fixes these build problems.

Thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 004-hurd.patch
Type: text/x-patch
Size: 2037 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20140929/767c4140/attachment.bin>


More information about the pkg-multimedia-maintainers mailing list