mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ml/labltk: fix -Wincompatible-pointer-types
Closes: https://bugs.gentoo.org/919294 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
11
dev-ml/labltk/files/labltk-8.06.12-c99.patch
Normal file
11
dev-ml/labltk/files/labltk-8.06.12-c99.patch
Normal file
@@ -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. */
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -25,6 +25,7 @@ PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.06.9-configure-clang16.patch
|
||||
"${FILESDIR}"/${P}-shuffle.patch
|
||||
"${FILESDIR}"/${P}-c2x.patch
|
||||
"${FILESDIR}"/${P}-c99.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user