summaryrefslogtreecommitdiff
path: root/graphics/gdk-pixbuf/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gdk-pixbuf/patches/patch-af')
-rw-r--r--graphics/gdk-pixbuf/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/gdk-pixbuf/patches/patch-af b/graphics/gdk-pixbuf/patches/patch-af
new file mode 100644
index 00000000000..a7b7ec64a99
--- /dev/null
+++ b/graphics/gdk-pixbuf/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2005/01/15 00:10:41 cube Exp $
+
+--- gdk-pixbuf/io-gif.c.orig 2002-12-18 19:49:01.000000000 +0000
++++ gdk-pixbuf/io-gif.c
+@@ -617,7 +617,7 @@ clip_frame (GifContext *context, int *x,
+ *w = MIN (context->width, context->x_offset + context->frame_len) - *x;
+ *h = MIN (context->height, context->y_offset + context->frame_height) - *y;
+
+- if (w > 0 && h > 0)
++ if (*w > 0 && *h > 0)
+ return;
+
+ /* The frame is completely off-bounds */