Bug#636750: iceweasel: FTBFS on hurd-i386
Pino Toscano
pino at debian.org
Fri Aug 5 17:31:13 UTC 2011
Package: iceweasel
Version: 5.0-6
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd
Hi,
currently, iceweasel fails to build on hurd-i386.
The attached patches fix all the issues:
- hurd.diff:
recognize also Hurd as "linux", and disable the inclusion of a
non-standard system header
- debian.diff:
due to the issues with our libpthread, an application dlopen'ing
a library linking to pthread must link to pthread as well; so, link
the simple npapi_getinfo executable to pthread as well (should not
create an additional overhead)
Thanks,
--
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd.diff
Type: text/x-c
Size: 1245 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mozilla-maintainers/attachments/20110805/79fbe9fa/attachment.bin>
-------------- next part --------------
--- a/debian/rules
+++ b/debian/rules
@@ -99,7 +99,7 @@ debian/dh/dh_xulrunner.1: debian/dh/dh_x
pod2man -c Debhelper -r $(GRE_VERSION) $^ > $@
build-xulrunner/dist/bin/npapi_getinfo: debian/dh/npapi_getinfo.c
- $(CC) -o $@ $< -Ibuild-xulrunner/dist/include -ldl -Wl,-rpath,\$$ORIGIN
+ $(CC) -o $@ $< -Ibuild-xulrunner/dist/include -ldl -lpthread -Wl,-rpath,\$$ORIGIN
IN_FILES := $(wildcard debian/*.in debian/dh/*.in)
define preprocess
More information about the pkg-mozilla-maintainers
mailing list