summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-ao
blob: dc3803b47e452418d8d2120bb127d36c7c634b11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ao,v 1.1 2004/03/04 06:27:45 minskim Exp $

--- otherlibs/labltk/tkanim/tkAnimGIF.c.orig	2002-07-23 09:12:00.000000000 -0500
+++ otherlibs/labltk/tkanim/tkAnimGIF.c
@@ -336,7 +336,11 @@ FileReadGIF(interp, f, fileName, formatS
             }
         }
         Tk_PhotoPutBlock(photoHandle, &block, 0, 0, 
-                         imageWidth, imageHeight);
+                         imageWidth, imageHeight
+#if (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION >= 4 || TK_MAJOR_VERSION > 8)
+                   , TK_PHOTO_COMPOSITE_SET
+#endif
+          );
 #ifdef TKANIM_DEBUG
     fprintf(stderr, " Retrieving result\n");
 #endif