summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bl
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-bl
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-bl')
-rw-r--r--lang/ocaml/patches/patch-bl17
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-bl b/lang/ocaml/patches/patch-bl
new file mode 100644
index 00000000000..0375a71ab18
--- /dev/null
+++ b/lang/ocaml/patches/patch-bl
@@ -0,0 +1,17 @@
+$NetBSD: patch-bl,v 1.1 2004/04/22 09:18:44 tron Exp $
+
+--- otherlibs/labltk/tkanim/tkAnimGIF.c.orig Tue Jul 23 16:12:00 2002
++++ otherlibs/labltk/tkanim/tkAnimGIF.c Thu Apr 22 10:34:38 2004
+@@ -336,7 +336,11 @@
+ }
+ }
+ 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