diff options
author | drochner <drochner@pkgsrc.org> | 2011-03-15 21:58:56 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2011-03-15 21:58:56 +0000 |
commit | 3d43fcdc80e7c796a4b9a994f4954cff56b704db (patch) | |
tree | 3aaae52bcc27992b068a46ae3adb53ae7a93e92a /www/webkit-gtk | |
parent | 0a86c8a1346ef8baa6a335674852add42beee656 (diff) | |
download | pkgsrc-3d43fcdc80e7c796a4b9a994f4954cff56b704db.tar.gz |
pull 2 patches from upstream:
-fix display of animated GIFs
-fix crash on certain sites
bump PKGREV
Diffstat (limited to 'www/webkit-gtk')
-rw-r--r-- | www/webkit-gtk/Makefile | 3 | ||||
-rw-r--r-- | www/webkit-gtk/distinfo | 4 | ||||
-rw-r--r-- | www/webkit-gtk/patches/patch-ba | 22 | ||||
-rw-r--r-- | www/webkit-gtk/patches/patch-bb | 13 |
4 files changed, 40 insertions, 2 deletions
diff --git a/www/webkit-gtk/Makefile b/www/webkit-gtk/Makefile index cfd8d5f2cff..f19ff6810e1 100644 --- a/www/webkit-gtk/Makefile +++ b/www/webkit-gtk/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.37 2011/02/11 05:37:07 obache Exp $ +# $NetBSD: Makefile,v 1.38 2011/03/15 21:58:56 drochner Exp $ DISTNAME= webkit-1.2.7 PKGNAME= ${DISTNAME:S/webkit/webkit-gtk/} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.webkitgtk.org/ diff --git a/www/webkit-gtk/distinfo b/www/webkit-gtk/distinfo index ca02c6b6040..7e1f7d8ae75 100644 --- a/www/webkit-gtk/distinfo +++ b/www/webkit-gtk/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.31 2011/03/14 00:15:32 wiz Exp $ +$NetBSD: distinfo,v 1.32 2011/03/15 21:58:56 drochner Exp $ SHA1 (webkit-1.2.7.tar.gz) = e9afc573d2459794c3749ba404f2187f9dcc9ed3 RMD160 (webkit-1.2.7.tar.gz) = f36b3ae05693e0eeb4d1936ceee52b6fe1517e57 @@ -8,3 +8,5 @@ SHA1 (patch-ad) = ef727a30bf78b747402a23fea7bddcc37d70e77d SHA1 (patch-af) = 7971cf7d873703e17c002fa660a949f6f6d1c684 SHA1 (patch-ag) = 0da0f8e1299ab061118e0338af521a1f07f4722b SHA1 (patch-ah) = 9e0178a9fe7175e29e16155bd190b852ced7d01f +SHA1 (patch-ba) = 6caffef625e9c04e971fbbd0763b4f9c834491e3 +SHA1 (patch-bb) = 5e59576629e9ecfbbe576c3d0afe047bda449291 diff --git a/www/webkit-gtk/patches/patch-ba b/www/webkit-gtk/patches/patch-ba new file mode 100644 index 00000000000..a69fcfd8a07 --- /dev/null +++ b/www/webkit-gtk/patches/patch-ba @@ -0,0 +1,22 @@ +$NetBSD: patch-ba,v 1.3 2011/03/15 21:58:56 drochner Exp $ + +--- WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp.orig 2011-02-07 17:29:58.000000000 +0000 ++++ WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp +@@ -343,7 +343,7 @@ bool GIFImageDecoder::initFrameBuffer(un + + if ((prevMethod == RGBA32Buffer::DisposeNotSpecified) || (prevMethod == RGBA32Buffer::DisposeKeep)) { + // Preserve the last frame as the starting state for this frame. +- if (!buffer->copyBitmapData(*prevBuffer)); ++ if (!buffer->copyBitmapData(*prevBuffer)) + return setFailed(); + } else { + // We want to clear the previous frame to transparent, without +@@ -357,7 +357,7 @@ bool GIFImageDecoder::initFrameBuffer(un + return setFailed(); + } else { + // Copy the whole previous buffer, then clear just its frame. +- if (!buffer->copyBitmapData(*prevBuffer)); ++ if (!buffer->copyBitmapData(*prevBuffer)) + return setFailed(); + for (int y = prevRect.y(); y < prevRect.bottom(); ++y) { + for (int x = prevRect.x(); x < prevRect.right(); ++x) diff --git a/www/webkit-gtk/patches/patch-bb b/www/webkit-gtk/patches/patch-bb new file mode 100644 index 00000000000..f0967e652e8 --- /dev/null +++ b/www/webkit-gtk/patches/patch-bb @@ -0,0 +1,13 @@ +$NetBSD: patch-bb,v 1.3 2011/03/15 21:58:56 drochner Exp $ + +--- WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp.orig 2010-09-10 13:20:33.000000000 +0000 ++++ WebCore/platform/graphics/cairo/GraphicsContextCairo.cpp +@@ -184,6 +184,8 @@ static inline void drawPathShadow(Graphi + + // Create suitably-sized ImageBuffer to hold the shadow. + OwnPtr<ImageBuffer> shadowBuffer = ImageBuffer::create(shadowBufferSize); ++ if (!shadowBuffer) ++ return; + + // Draw shadow into a new ImageBuffer. + cairo_t* shadowContext = shadowBuffer->context()->platformContext(); |