summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bj
diff options
context:
space:
mode:
authortron <tron>2004-04-22 09:18:34 +0000
committertron <tron>2004-04-22 09:18:34 +0000
commitd730e797ceb41d3c65f5f93175e749aab7304d0d (patch)
tree59672b97d93cb0901c01e1fad17ba3b32b924095 /lang/ocaml/patches/patch-bj
parentdb00d969c5c33ff82e28c6ea5d129a47e9b364fa (diff)
downloadpkgsrc-d730e797ceb41d3c65f5f93175e749aab7304d0d.tar.gz
Fix various issues with this package:
- split patches files - always enable threading which has various advantages - it fixes the build of the Tk library - it greatly simplifies the package list handling - it provides threading support under NetBSD 1.6/1.6.x - correct default dependence in "buildlink2.mk" to "build" Bump package revision because of all these changes.
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)