summaryrefslogtreecommitdiff
path: root/lang/tclX/files/patch-generic_tclXdup.c
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-10-07 12:45:02 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-10-07 12:45:02 +0000
commit44ed15c688146a1cd16c15794cb8e72092511092 (patch)
tree6e131075ddc685737b8beb2d0e26b969bb37cf47 /lang/tclX/files/patch-generic_tclXdup.c
parentgames/fretsonfire: switch from py-imaging to py-pillow (diff)
- Chase compiler warnings
PR: 192370 Submitted by: gahr Approved by: maintainer (timeout > 2 months)
Notes
Notes: svn path=/head/; revision=370327
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);