summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/minicom/minicom-2.4
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2010-11-24 11:35:18 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-12-02 05:24:51 -0800
commit35793fdd7da312e644f2c7bab81b604128e3f2de (patch)
tree5edbf8fc5fcce2a79f78504f926dceb670d034d2 /meta/recipes-extended/minicom/minicom-2.4
parenta5de5a7dfeecbccef1cfb8f6221a494b946ed982 (diff)
downloadpoky-35793fdd7da312e644f2c7bab81b604128e3f2de.tar.gz
minicom: Upgrade to version 2.4
Fixed its metadata Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-extended/minicom/minicom-2.4')
-rw-r--r--meta/recipes-extended/minicom/minicom-2.4/gcc4-scope.patch44
-rw-r--r--meta/recipes-extended/minicom/minicom-2.4/rename-conflicting-functions.patch13
2 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-extended/minicom/minicom-2.4/gcc4-scope.patch b/meta/recipes-extended/minicom/minicom-2.4/gcc4-scope.patch
new file mode 100644
index 0000000000..5bd47bd354
--- /dev/null
+++ b/meta/recipes-extended/minicom/minicom-2.4/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;
diff --git a/meta/recipes-extended/minicom/minicom-2.4/rename-conflicting-functions.patch b/meta/recipes-extended/minicom/minicom-2.4/rename-conflicting-functions.patch
new file mode 100644
index 0000000000..c344203267
--- /dev/null
+++ b/meta/recipes-extended/minicom/minicom-2.4/rename-conflicting-functions.patch
@@ -0,0 +1,13 @@
1--- minicom-2.3/src/minicom.c-orig 2009-06-08 14:49:07.000000000 +0200
2+++ minicom-2.3/src/minicom.c 2009-06-08 14:50:23.000000000 +0200
3@@ -63,6 +63,10 @@
4 }
5 #endif /*DEBUG*/
6
7+#ifdef __USE_GNU
8+#define getline minicom_getline
9+#endif
10+
11 /*
12 * Sub - menu's.
13 */