summaryrefslogtreecommitdiff
path: root/lang/STk/patches/patch-aq
diff options
context:
space:
mode:
Diffstat (limited to 'lang/STk/patches/patch-aq')
-rw-r--r--lang/STk/patches/patch-aq13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/STk/patches/patch-aq b/lang/STk/patches/patch-aq
new file mode 100644
index 00000000000..3a6dc549099
--- /dev/null
+++ b/lang/STk/patches/patch-aq
@@ -0,0 +1,13 @@
+$NetBSD: patch-aq,v 1.1 2008/09/07 00:23:58 dholland Exp $
+
+--- Tk/generic/tkArgv.c~ 1998-01-03 07:46:25.000000000 -0500
++++ Tk/generic/tkArgv.c 2008-09-06 19:25:03.000000000 -0400
+@@ -178,7 +178,7 @@ Tk_ParseArgv(interp, tkwin, argcPtr, arg
+ infoPtr = matchPtr;
+ switch (infoPtr->type) {
+ case TK_ARGV_CONSTANT:
+- *((int *) infoPtr->dst) = (int) infoPtr->src;
++ *((intptr_t *) infoPtr->dst) = (intptr_t) infoPtr->src;
+ break;
+ case TK_ARGV_INT:
+ if (argc == 0) {