summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bj
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml/patches/patch-bj')
-rw-r--r--lang/ocaml/patches/patch-bj17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-bj b/lang/ocaml/patches/patch-bj
new file mode 100644
index 00000000000..383908a7e46
--- /dev/null
+++ b/lang/ocaml/patches/patch-bj
@@ -0,0 +1,17 @@
+$NetBSD: patch-bj,v 1.1 2004/04/22 09:18:44 tron Exp $
+
+--- otherlibs/labltk/support/cltkImg.c.orig Tue Jul 23 16:11:59 2002
++++ otherlibs/labltk/support/cltkImg.c Thu Apr 22 10:34:38 2004
+@@ -99,7 +99,11 @@
+ pib.offset[0] = 0;
+ pib.offset[1] = 1;
+ pib.offset[2] = 2;
+- Tk_PhotoPutBlock(ph,&pib,Int_val(x),Int_val(y),Int_val(w),Int_val(h));
++ Tk_PhotoPutBlock(ph,&pib,Int_val(x),Int_val(y),Int_val(w),Int_val(h)
++#if (TK_MAJOR_VERSION == 8 && TK_MINOR_VERSION >= 4 || TK_MAJOR_VERSION > 8)
++ , TK_PHOTO_COMPOSITE_SET
++#endif
++ );
+ }
+
+ CAMLprim void camltk_setimgdata_bytecode(argv,argn)