Adrian Bunk wrote: > forcemerge 598956 559925 > thanks > > cu > Adrian This bug is indeed the same as <http://bugs.debian.org/559925>. I can confirm that Liferea (and Epiphany) only crashes on kfreebsd-i386 and not kfreebsd-amd64. As such I'm updating the patch. Regards, Mike.
Author: Michael Dorrington
Description: Disables the building of JIT on kfreebsd-i386.
On kfreebsd-i386, webkit crashes due to the Javascript JIT, see
<http://bugs.debian.org/598956>, so we disable the building of the
Javascript JIT.
On kfreebsd-amd64, this issue does not occur.
--- webkit-1.2.4/debian/rules 2010-09-03 22:29:30.000000000 +0100
+++ webkit-1.2.4-disablejit/debian/rules 2010-10-06 09:36:03.000000000 +0100
@@ -5,6 +5,7 @@
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
CFLAGS = -g -Wall
@@ -22,6 +23,13 @@
CFLAGS += -gstabs
endif
+CONF_FLAGS = --enable-gtk-doc \
+ --enable-introspection
+
+ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
+ CONF_FLAGS += --disable-jit
+endif
+
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
MAKEARGUMENTS += -j$(NUMJOBS)
@@ -53,8 +61,7 @@
../configure --prefix=/usr \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
- --enable-gtk-doc \
- --enable-introspection
+ $(CONF_FLAGS)
$(MAKE) $(MAKEARGUMENTS) -C build
Attachment:
signature.asc
Description: OpenPGP digital signature