summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch')
-rw-r--r--meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch b/meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
deleted file mode 100644
index 3cd34155ee..0000000000
--- a/meta/recipes-devtools/tcltk/tcl/0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From f7fa48c4c75a1e748dc5071e709c0b62ff739eaa Mon Sep 17 00:00:00 2001
2From: "jan.nijtmans" <nijtmans@users.sourceforge.net>
3Date: Mon, 9 Dec 2019 10:02:20 +0000
4Subject: [PATCH] Fix [abd4abedd2]: Failed to build tk 8.6.10 with cross
5 compile
6
7Upstream-Status: Backport
8[https://github.com/tcltk/tcl/commit/f7fa48c4c75a1e748dc5071e709c0b62ff739eaa]
9
10Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
11---
12 compat/strtol.c | 2 +-
13 compat/strtoul.c | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/compat/strtol.c b/compat/strtol.c
17index b7f69196c..811006a64 100644
18--- a/compat/strtol.c
19+++ b/compat/strtol.c
20@@ -53,7 +53,7 @@ strtol(
21 */
22
23 p = string;
24- while (TclIsSpaceProc(*p)) {
25+ while (isspace(UCHAR(*p))) {
26 p += 1;
27 }
28
29diff --git a/compat/strtoul.c b/compat/strtoul.c
30index e37eb05f8..15587f1da 100644
31--- a/compat/strtoul.c
32+++ b/compat/strtoul.c
33@@ -74,7 +74,7 @@ strtoul(
34 */
35
36 p = string;
37- while (TclIsSpaceProc(*p)) {
38+ while (isspace(UCHAR(*p))) {
39 p += 1;
40 }
41 if (*p == '-') {
42--
432.17.1
44