diff options
Diffstat (limited to 'meta/recipes-extended/minicom/minicom-2.5/gcc4-scope.patch')
-rw-r--r-- | meta/recipes-extended/minicom/minicom-2.5/gcc4-scope.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-extended/minicom/minicom-2.5/gcc4-scope.patch b/meta/recipes-extended/minicom/minicom-2.5/gcc4-scope.patch new file mode 100644 index 0000000000..0660cb0c15 --- /dev/null +++ b/meta/recipes-extended/minicom/minicom-2.5/gcc4-scope.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | Upstream-Status: Inappropriate [others] | ||
2 | |||
3 | --- minicom-2.1/src/window.c.orig 2006-06-14 17:49:53.000000000 +0200 | ||
4 | +++ minicom-2.1/src/window.c 2006-06-14 17:50:14.000000000 +0200 | ||
5 | @@ -62,7 +62,7 @@ | ||
6 | static char *CS, *SF, *SR, *VB, *BL; | ||
7 | static char *VE, *VI, *KS, *KE; | ||
8 | static char *CD, *CL, *IC, *DC; | ||
9 | -static char *BC, *CR, *NL; | ||
10 | +static char *mcBC, *CR, *NL; | ||
11 | #if ST_LINE | ||
12 | static char *TS, *FS, *DS; | ||
13 | #endif | ||
14 | @@ -322,8 +322,8 @@ | ||
15 | else if (NL != CNULL && x == 0 && x == curx && y == cury + 1) | ||
16 | outstr(NL); | ||
17 | #endif | ||
18 | - else if (BC != CNULL && y == cury && x == curx - 1) | ||
19 | - outstr(BC); | ||
20 | + else if (mcBC != CNULL && y == cury && x == curx - 1) | ||
21 | + outstr(mcBC); | ||
22 | else | ||
23 | outstr(tgoto(CM, x, y)); | ||
24 | curx = x; | ||
25 | @@ -1918,7 +1918,7 @@ | ||
26 | CL = tgetstr("cl", &_tptr); | ||
27 | IC = tgetstr("ic", &_tptr); | ||
28 | DC = tgetstr("dc", &_tptr); | ||
29 | - BC = tgetstr("bc", &_tptr); | ||
30 | + mcBC = tgetstr("bc", &_tptr); | ||
31 | CR = tgetstr("cr", &_tptr); | ||
32 | NL = tgetstr("nl", &_tptr); | ||
33 | AC = tgetstr("ac", &_tptr); | ||
34 | @@ -1967,10 +1967,10 @@ | ||
35 | _has_am = tgetflag("am"); | ||
36 | _mv_standout = tgetflag("ms"); | ||
37 | if (tgetflag("bs")) { | ||
38 | - if (BC == CNULL) BC = "\b"; | ||
39 | + if (mcBC == CNULL) mcBC = "\b"; | ||
40 | } | ||
41 | else | ||
42 | - BC = CNULL; | ||
43 | + mcBC = CNULL; | ||
44 | |||
45 | /* Special IBM box-drawing characters */ | ||
46 | D_UL = 201; | ||