summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2024-06-04 20:24:21 +0200
committerAlfredo Tupone <tupone@gentoo.org>2024-06-04 20:25:03 +0200
commitc2d33a9ed87b79678ce90a6f2d5e29d87b6474b2 (patch)
tree76e4c42dff8a570dfb0b3013643699a725182250 /dev-ml/labltk/files
parentsci-mathematics/cubicle: ignore TEXTRELS (diff)
downloadgentoo-c2d33a9ed87b79678ce90a6f2d5e29d87b6474b2.tar.gz
gentoo-c2d33a9ed87b79678ce90a6f2d5e29d87b6474b2.tar.bz2
gentoo-c2d33a9ed87b79678ce90a6f2d5e29d87b6474b2.zip
dev-ml/labltk: fix -Wincompatible-pointer-types
Closes: https://bugs.gentoo.org/919294 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/labltk/files')
-rw-r--r--dev-ml/labltk/files/labltk-8.06.12-c99.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-ml/labltk/files/labltk-8.06.12-c99.patch b/dev-ml/labltk/files/labltk-8.06.12-c99.patch
new file mode 100644
index 000000000000..1761f478bd76
--- /dev/null
+++ b/dev-ml/labltk/files/labltk-8.06.12-c99.patch
@@ -0,0 +1,11 @@
+--- a/support/cltkVar.c 2024-06-04 20:18:35.940518270 +0200
++++ b/support/cltkVar.c 2024-06-04 20:18:49.456367424 +0200
+@@ -75,7 +75,7 @@
+ Tcl_Interp *interp, char *part1, char *part2, int flags));
+ */
+ static char * tracevar(ClientData clientdata, Tcl_Interp *interp,
+- char *name1, char *name2, int flags)
++ const char *name1, const char *name2, int flags)
+ /* interp -> Interpreter containing variable. */
+ /* name1 -> Name of variable. */
+ /* name2 -> Second part of variable name. */