aboutsummaryrefslogtreecommitdiff
path: root/www/webkit-gtk2
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2011-03-12 13:01:09 +0000
committerKoop Mast <kwm@FreeBSD.org>2011-03-12 13:01:09 +0000
commit36b9a0c7db6ccffcece6f6d255277eb74ef60403 (patch)
tree631a7c2c3116ec865917b51ad6d4ce04237bfeff /www/webkit-gtk2
parent993a514b4788035de43dd5c2ee41050667e5f45e (diff)
downloadports-36b9a0c7db6ccffcece6f6d255277eb74ef60403.tar.gz
ports-36b9a0c7db6ccffcece6f6d255277eb74ef60403.zip
Notes
Diffstat (limited to 'www/webkit-gtk2')
-rw-r--r--www/webkit-gtk2/Makefile1
-rw-r--r--www/webkit-gtk2/files/patch-gif36
2 files changed, 37 insertions, 0 deletions
diff --git a/www/webkit-gtk2/Makefile b/www/webkit-gtk2/Makefile
index 5bb9caaa0648..b0ef2e9f4a9a 100644
--- a/www/webkit-gtk2/Makefile
+++ b/www/webkit-gtk2/Makefile
@@ -8,6 +8,7 @@
PORTNAME= webkit
PORTVERSION= 1.2.7
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://webkitgtk.org/
PKGNAMESUFFIX= -gtk2
diff --git a/www/webkit-gtk2/files/patch-gif b/www/webkit-gtk2/files/patch-gif
new file mode 100644
index 000000000000..64dce7c117fb
--- /dev/null
+++ b/www/webkit-gtk2/files/patch-gif
@@ -0,0 +1,36 @@
+From bd6bf8e203cabe7073d4880c64a1ab86ebc1264b Mon Sep 17 00:00:00 2001
+From: Gustavo Noronha Silva <gns@gnome.org>
+Date: Tue, 8 Mar 2011 09:42:13 -0300
+Subject: [PATCH] Fix bad merge that left trailing semicolons on a couple if statements
+
+This was causing gifs to blink instead of animating. For more details
+look here: https://bugs.webkit.org/show_bug.cgi?id=55830
+---
+ .../image-decoders/gif/GIFImageDecoder.cpp | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp b/WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp
+index dc288fd..3bb2340 100644
+--- WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp
++++ WebCore/platform/image-decoders/gif/GIFImageDecoder.cpp
+@@ -343,7 +343,7 @@ bool GIFImageDecoder::initFrameBuffer(unsigned frameIndex)
+
+ 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(unsigned frameIndex)
+ 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)
+--
+1.6.1
+