So the following patch seems to make webkit 1.4.2 mostly usable.

This doesn't fix all issues with epiphany or xxxterm.  I have been
making updates to xxxterm to work around some issues.  I started working
with the upstream guys but they are less than interested because "linux
works".  The core of the issue is that they reset ulimit values despite
being set properly by the browser.  Secondly web sockets keep half open
connections around longer because they never issue a close and it is
trivially simple to run out of file descriptors.

Can we please get this in to at least stabilize webkit?

Index: Makefile
===================================================================
RCS file: /cvs/ports/www/webkit/Makefile,v
retrieving revision 1.52
diff -u -p -r1.52 Makefile
--- Makefile    5 Jul 2011 11:34:27 -0000       1.52
+++ Makefile    8 Jul 2011 19:10:58 -0000
@@ -6,6 +6,7 @@ V =             1.4.2
 DISTNAME =     webkit-${V}
 EPOCH =                0
 CATEGORIES =   www
+REVISION =     0
 
 HOMEPAGE =     http://webkitgtk.org/
 MASTER_SITES = ${HOMEPAGE}
@@ -54,6 +55,8 @@ CONFIGURE_ENV =       CPPFLAGS="-I${LOCALBASE}
 CONFIGURE_ARGS+=${CONFIGURE_SHARED} \
                --disable-gtk-doc \
                --enable-introspection \
+               --disable-web-sockets \
+               --disable-link-prefetch \
                --enable-spellcheck
 
 MAKE_FILE =    GNUmakefile
Index: patches/patch-Source_WebCore_platform_graphics_FontFallbackList_cpp
===================================================================
RCS file: patches/patch-Source_WebCore_platform_graphics_FontFallbackList_cpp
diff -N patches/patch-Source_WebCore_platform_graphics_FontFallbackList_cpp
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Source_WebCore_platform_graphics_FontFallbackList_cpp 8 Jul 
2011 19:07:01 -0000
@@ -0,0 +1,18 @@
+$OpenBSD$
+--- Source/WebCore/platform/graphics/FontFallbackList.cpp.orig Fri Jul  8 
14:05:45 2011
++++ Source/WebCore/platform/graphics/FontFallbackList.cpp      Fri Jul  8 
14:06:48 2011
+@@ -73,7 +73,14 @@ void FontFallbackList::releaseFontData()
+ 
+ void FontFallbackList::determinePitch(const Font* font) const
+ {
++    if (font == NULL)
++      return;
++
+     const FontData* fontData = primaryFontData(font);
++
++    if (fontData == NULL)
++      return;
++
+     if (!fontData->isSegmented())
+         m_pitch = static_cast<const SimpleFontData*>(fontData)->pitch();
+     else {

Reply via email to