summaryrefslogtreecommitdiff
path: root/lang/tclX/files/patch-generic_tclXdup.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tclX/files/patch-generic_tclXdup.c')
-rw-r--r--lang/tclX/files/patch-generic_tclXdup.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/tclX/files/patch-generic_tclXdup.c b/lang/tclX/files/patch-generic_tclXdup.c
new file mode 100644
index 000000000000..895d40ac9773
--- /dev/null
+++ b/lang/tclX/files/patch-generic_tclXdup.c
@@ -0,0 +1,11 @@
+--- generic/tclXdup.c.orig 2014-07-30 16:44:06.000000000 +0200
++++ generic/tclXdup.c 2014-07-30 16:45:30.000000000 +0200
+@@ -128,7 +128,7 @@
+ char *targetChannelId;
+ {
+ Tcl_Channel srcChannel, newChannel = NULL;
+- Tcl_ChannelType *channelType;
++ const Tcl_ChannelType *channelType;
+ int mode;
+
+ srcChannel = Tcl_GetChannel (interp, srcChannelId, &mode);