summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/minicom
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-extended/minicom
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/minicom')
-rw-r--r--meta/recipes-extended/minicom/minicom-2.3/gcc4-scope.patch44
-rw-r--r--meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch13
-rw-r--r--meta/recipes-extended/minicom/minicom_2.3.bb17
3 files changed, 74 insertions, 0 deletions
diff --git a/meta/recipes-extended/minicom/minicom-2.3/gcc4-scope.patch b/meta/recipes-extended/minicom/minicom-2.3/gcc4-scope.patch
new file mode 100644
index 0000000000..5bd47bd354
--- /dev/null
+++ b/meta/recipes-extended/minicom/minicom-2.3/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.3/rename-conflicting-functions.patch b/meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch
new file mode 100644
index 0000000000..c344203267
--- /dev/null
+++ b/meta/recipes-extended/minicom/minicom-2.3/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 */
diff --git a/meta/recipes-extended/minicom/minicom_2.3.bb b/meta/recipes-extended/minicom/minicom_2.3.bb
new file mode 100644
index 0000000000..a114e30c99
--- /dev/null
+++ b/meta/recipes-extended/minicom/minicom_2.3.bb
@@ -0,0 +1,17 @@
1SECTION = "console/network"
2DEPENDS = "ncurses"
3LICENSE = "GPL"
4SRC_URI = "http://alioth.debian.org/frs/download.php/2332/minicom-${PV}.tar.gz \
5 file://rename-conflicting-functions.patch \
6 "
7
8# file://gcc4-scope.patch;patch=1 \
9
10inherit autotools gettext
11
12do_install() {
13 for d in doc extras man lib src; do make -C $d DESTDIR=${D} install; done
14}
15
16SRC_URI[md5sum] = "0ebe7a91898384ca906787cc4e2c3f25"
17SRC_URI[sha256sum] = "2acbc3d4a07e1134ee285a72fa44bbc27703b02dba02be68db9e6fd8320356fb"