summaryrefslogtreecommitdiff
path: root/x11/lesstif/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'x11/lesstif/patches/patch-ab')
-rw-r--r--x11/lesstif/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/lesstif/patches/patch-ab b/x11/lesstif/patches/patch-ab
new file mode 100644
index 00000000000..49ed8812f88
--- /dev/null
+++ b/x11/lesstif/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.15.10.1 2005/03/11 06:55:42 snj Exp $
+
+--- lib/Xm-2.1/Xpmcreate.c.orig 2004-11-18 22:00:58.000000000 +0100
++++ lib/Xm-2.1/Xpmcreate.c
+@@ -1265,10 +1265,10 @@ PutImagePixels(image, width, height, pix
+ register char *src;
+ register char *dst;
+ register unsigned int *iptr;
+- register unsigned int x, y, i;
++ register unsigned int x, y;
+ register char *data;
+ Pixel pixel, px;
+- int nbytes, depth, ibu, ibpp;
++ int nbytes, depth, ibu, ibpp, i;
+
+ data = image->data;
+ iptr = pixelindex;