summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/minicom/minicom-2.5/gcc4-scope.patch
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2011-12-26 23:50:57 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-03 12:14:24 +0000
commitfd361439ef855d16cd1ff6471fb7d02ca8d7256c (patch)
treeb622dc81bfeecab49331d1e1cffbc159316bf081 /meta/recipes-extended/minicom/minicom-2.5/gcc4-scope.patch
parent31cb9dbf550091ee07dead83d2ef54f3e326789e (diff)
downloadpoky-fd361439ef855d16cd1ff6471fb7d02ca8d7256c.tar.gz
minicom: upgrade to 2.5
(From OE-Core rev: 0585b1c042403e42474e05c634074b63efbcc772) Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.patch46
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 @@
1Upstream-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;