pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/gdk-pixbuf Fix a long-standing bug in io-gif....
details: https://anonhg.NetBSD.org/pkgsrc/rev/4d73e9c1e428
branches: trunk
changeset: 487483:4d73e9c1e428
user: cube <cube%pkgsrc.org@localhost>
date: Sat Jan 15 00:10:41 2005 +0000
description:
Fix a long-standing bug in io-gif.c. It remained unnoticed until Georg
Schwarz tried to compile it with a compiler that errors out when the code
does something as pointless as checking if a pointer is positive.
PR#28889 and http://bugzilla.gnome.org/show_bug.cgi?id=156186
diffstat:
graphics/gdk-pixbuf/distinfo | 3 ++-
graphics/gdk-pixbuf/patches/patch-af | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r dd9a588b1bfe -r 4d73e9c1e428 graphics/gdk-pixbuf/distinfo
--- a/graphics/gdk-pixbuf/distinfo Fri Jan 14 23:40:16 2005 +0000
+++ b/graphics/gdk-pixbuf/distinfo Sat Jan 15 00:10:41 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2003/01/15 21:03:25 wiz Exp $
+$NetBSD: distinfo,v 1.13 2005/01/15 00:10:41 cube Exp $
SHA1 (gdk-pixbuf-0.22.0.tar.bz2) = 495324afb5abebc14567ffd5a6cd72333bcc7f5b
Size (gdk-pixbuf-0.22.0.tar.bz2) = 398208 bytes
@@ -7,3 +7,4 @@
SHA1 (patch-ac) = 16fc33898fc1cb10b3e11ee26e7ea046d1f68032
SHA1 (patch-ad) = 5c834eceaea7cef2ae964bba586c1e90ea4d0684
SHA1 (patch-ae) = 515ae7a1946db5b8959287f0db101d64a97ab628
+SHA1 (patch-af) = af8bf66d1cc445bdf7affaa119fd4c24e96e53c7
diff -r dd9a588b1bfe -r 4d73e9c1e428 graphics/gdk-pixbuf/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/gdk-pixbuf/patches/patch-af Sat Jan 15 00:10:41 2005 +0000
@@ -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 */
Home |
Main Index |
Thread Index |
Old Index