mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-tcltk/tkzinc: fix incomp pointer conversion
Closes: https://bugs.gentoo.org/871120 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
29
dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch
Normal file
29
dev-tcltk/tkzinc/files/tkzinc-3.3.6-clang.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
--- a/generic/Window.c 2023-01-17 19:39:55.697886490 +0100
|
||||
+++ b/generic/Window.c 2023-01-17 19:41:15.619618094 +0100
|
||||
@@ -350,7 +350,7 @@
|
||||
#endif /* ifdef _WIN32 */
|
||||
|
||||
/* Reset externalwindow */
|
||||
- wind->externalwindow = NULL;
|
||||
+ wind->externalwindow = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -384,7 +384,7 @@
|
||||
wind->connection_anchor = TK_ANCHOR_SW;
|
||||
wind->win = NULL;
|
||||
wind->windowtitle = NULL;
|
||||
- wind->externalwindow = NULL;
|
||||
+ wind->externalwindow = 0;
|
||||
|
||||
return TCL_OK;
|
||||
}
|
||||
@@ -407,7 +407,7 @@
|
||||
*/
|
||||
wind->win = NULL;
|
||||
wind->windowtitle = NULL;
|
||||
- wind->externalwindow = NULL;
|
||||
+ wind->externalwindow = 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -26,7 +26,8 @@ S="${WORKDIR}/Tkzinc-${PV//.}+"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-ldflags.patch
|
||||
"${FILESDIR}"/${PN}-3.3.4-latex.patch
|
||||
)
|
||||
"${FILESDIR}"/${P}-clang.patch
|
||||
)
|
||||
|
||||
HTML_DOCS='doc/*png doc/*html doc/*css'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user