Source: webkit
Version: 1.6.1-5
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd
Hi,
currently[1], webkit fails to build on GNU/Hurd.
The problem is due to the missing PTHREAD_KEYS_MAX definition (which is
optional in POSIX, though).
The attached patch does two things:
- Source/JavaScriptCore/wtf/Platform.h
defines WTF_OS_HURD in hopefully a suitable way for upstream;
it would be nice if you could send it upstream (so I don't need to
patch also the various webkit copies for it).
- Source/JavaScriptCore/wtf/ThreadIdentifierDataPthreads.cpp
adds a band-aid fix fix for the lack of PTHREAD_KEYS_MAX definition,
with a value which should not cause issues;
this part should not go upstream but stay locally in Debian for now,
as it will need either a better fix in webkit or a fix in
glibc/libpthread for Hurd.
[1] https://buildd.debian.org/status/fetch.php?pkg=webkit&arch=hurd-i386&ver=1.6.1-5&stamp=1320390923
Thanks,
--
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd.diff
Type: text/x-diff
Size: 811 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20111118/cfad165f/attachment.diff>