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