summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-ao
diff options
context:
space:
mode:
authorminskim <minskim>2004-03-04 06:27:45 +0000
committerminskim <minskim>2004-03-04 06:27:45 +0000
commiteb41bfb4b3ba6de487b9044728dbeec54a21ba77 (patch)
tree1513b4ee11ddd78c171f5a24b5aa8e780b17f663 /lang/ocaml/patches/patch-ao
parentead9b0dcf817f9314ccf3c22886face741ee60cd (diff)
downloadpkgsrc-eb41bfb4b3ba6de487b9044728dbeec54a21ba77.tar.gz
Make ocalm build with tk-8.4.
Diffstat (limited to 'lang/ocaml/patches/patch-ao')
-rw-r--r--lang/ocaml/patches/patch-ao17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-ao b/lang/ocaml/patches/patch-ao
new file mode 100644
index 00000000000..dc3803b47e4
--- /dev/null
+++ b/lang/ocaml/patches/patch-ao
@@ -0,0 +1,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