From 35793fdd7da312e644f2c7bab81b604128e3f2de Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Wed, 24 Nov 2010 11:35:18 +0800 Subject: minicom: Upgrade to version 2.4 Fixed its metadata Signed-off-by: Dongxiao Xu --- .../minicom/minicom-2.3/gcc4-scope.patch | 44 ---------------------- .../minicom-2.3/rename-conflicting-functions.patch | 13 ------- .../minicom/minicom-2.4/gcc4-scope.patch | 44 ++++++++++++++++++++++ .../minicom-2.4/rename-conflicting-functions.patch | 13 +++++++ meta/recipes-extended/minicom/minicom_2.3.bb | 18 --------- meta/recipes-extended/minicom/minicom_2.4.bb | 22 +++++++++++ 6 files changed, 79 insertions(+), 75 deletions(-) delete mode 100644 meta/recipes-extended/minicom/minicom-2.3/gcc4-scope.patch delete mode 100644 meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch create mode 100644 meta/recipes-extended/minicom/minicom-2.4/gcc4-scope.patch create mode 100644 meta/recipes-extended/minicom/minicom-2.4/rename-conflicting-functions.patch delete mode 100644 meta/recipes-extended/minicom/minicom_2.3.bb create mode 100644 meta/recipes-extended/minicom/minicom_2.4.bb (limited to 'meta/recipes-extended/minicom') diff --git a/meta/recipes-extended/minicom/minicom-2.3/gcc4-scope.patch b/meta/recipes-extended/minicom/minicom-2.3/gcc4-scope.patch deleted file mode 100644 index 5bd47bd354..0000000000 --- a/meta/recipes-extended/minicom/minicom-2.3/gcc4-scope.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- minicom-2.1/src/window.c.orig 2006-06-14 17:49:53.000000000 +0200 -+++ minicom-2.1/src/window.c 2006-06-14 17:50:14.000000000 +0200 -@@ -62,7 +62,7 @@ - static char *CS, *SF, *SR, *VB, *BL; - static char *VE, *VI, *KS, *KE; - static char *CD, *CL, *IC, *DC; --static char *BC, *CR, *NL; -+static char *mcBC, *CR, *NL; - #if ST_LINE - static char *TS, *FS, *DS; - #endif -@@ -322,8 +322,8 @@ - else if (NL != CNULL && x == 0 && x == curx && y == cury + 1) - outstr(NL); - #endif -- else if (BC != CNULL && y == cury && x == curx - 1) -- outstr(BC); -+ else if (mcBC != CNULL && y == cury && x == curx - 1) -+ outstr(mcBC); - else - outstr(tgoto(CM, x, y)); - curx = x; -@@ -1918,7 +1918,7 @@ - CL = tgetstr("cl", &_tptr); - IC = tgetstr("ic", &_tptr); - DC = tgetstr("dc", &_tptr); -- BC = tgetstr("bc", &_tptr); -+ mcBC = tgetstr("bc", &_tptr); - CR = tgetstr("cr", &_tptr); - NL = tgetstr("nl", &_tptr); - AC = tgetstr("ac", &_tptr); -@@ -1967,10 +1967,10 @@ - _has_am = tgetflag("am"); - _mv_standout = tgetflag("ms"); - if (tgetflag("bs")) { -- if (BC == CNULL) BC = "\b"; -+ if (mcBC == CNULL) mcBC = "\b"; - } - else -- BC = CNULL; -+ mcBC = CNULL; - - /* Special IBM box-drawing characters */ - 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 deleted file mode 100644 index c344203267..0000000000 --- a/meta/recipes-extended/minicom/minicom-2.3/rename-conflicting-functions.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- minicom-2.3/src/minicom.c-orig 2009-06-08 14:49:07.000000000 +0200 -+++ minicom-2.3/src/minicom.c 2009-06-08 14:50:23.000000000 +0200 -@@ -63,6 +63,10 @@ - } - #endif /*DEBUG*/ - -+#ifdef __USE_GNU -+#define getline minicom_getline -+#endif -+ - /* - * Sub - menu's. - */ 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 @@ +--- minicom-2.1/src/window.c.orig 2006-06-14 17:49:53.000000000 +0200 ++++ minicom-2.1/src/window.c 2006-06-14 17:50:14.000000000 +0200 +@@ -62,7 +62,7 @@ + static char *CS, *SF, *SR, *VB, *BL; + static char *VE, *VI, *KS, *KE; + static char *CD, *CL, *IC, *DC; +-static char *BC, *CR, *NL; ++static char *mcBC, *CR, *NL; + #if ST_LINE + static char *TS, *FS, *DS; + #endif +@@ -322,8 +322,8 @@ + else if (NL != CNULL && x == 0 && x == curx && y == cury + 1) + outstr(NL); + #endif +- else if (BC != CNULL && y == cury && x == curx - 1) +- outstr(BC); ++ else if (mcBC != CNULL && y == cury && x == curx - 1) ++ outstr(mcBC); + else + outstr(tgoto(CM, x, y)); + curx = x; +@@ -1918,7 +1918,7 @@ + CL = tgetstr("cl", &_tptr); + IC = tgetstr("ic", &_tptr); + DC = tgetstr("dc", &_tptr); +- BC = tgetstr("bc", &_tptr); ++ mcBC = tgetstr("bc", &_tptr); + CR = tgetstr("cr", &_tptr); + NL = tgetstr("nl", &_tptr); + AC = tgetstr("ac", &_tptr); +@@ -1967,10 +1967,10 @@ + _has_am = tgetflag("am"); + _mv_standout = tgetflag("ms"); + if (tgetflag("bs")) { +- if (BC == CNULL) BC = "\b"; ++ if (mcBC == CNULL) mcBC = "\b"; + } + else +- BC = CNULL; ++ mcBC = CNULL; + + /* Special IBM box-drawing characters */ + 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 @@ +--- minicom-2.3/src/minicom.c-orig 2009-06-08 14:49:07.000000000 +0200 ++++ minicom-2.3/src/minicom.c 2009-06-08 14:50:23.000000000 +0200 +@@ -63,6 +63,10 @@ + } + #endif /*DEBUG*/ + ++#ifdef __USE_GNU ++#define getline minicom_getline ++#endif ++ + /* + * Sub - menu's. + */ diff --git a/meta/recipes-extended/minicom/minicom_2.3.bb b/meta/recipes-extended/minicom/minicom_2.3.bb deleted file mode 100644 index c327e944b4..0000000000 --- a/meta/recipes-extended/minicom/minicom_2.3.bb +++ /dev/null @@ -1,18 +0,0 @@ -SECTION = "console/network" -DEPENDS = "ncurses" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645" -SRC_URI = "http://alioth.debian.org/frs/download.php/2332/minicom-${PV}.tar.gz \ - file://rename-conflicting-functions.patch \ - " - -# file://gcc4-scope.patch;patch=1 \ - -inherit autotools gettext - -do_install() { - for d in doc extras man lib src; do make -C $d DESTDIR=${D} install; done -} - -SRC_URI[md5sum] = "0ebe7a91898384ca906787cc4e2c3f25" -SRC_URI[sha256sum] = "2acbc3d4a07e1134ee285a72fa44bbc27703b02dba02be68db9e6fd8320356fb" diff --git a/meta/recipes-extended/minicom/minicom_2.4.bb b/meta/recipes-extended/minicom/minicom_2.4.bb new file mode 100644 index 0000000000..439dbd7484 --- /dev/null +++ b/meta/recipes-extended/minicom/minicom_2.4.bb @@ -0,0 +1,22 @@ +SUMMARY = "Text-based modem control and terminal emulation program" +DESCRIPTION = "Minicom is a text-based modem control and terminal emulation program for Unix-like operating systems" +SECTION = "console/network" +DEPENDS = "ncurses" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \ + file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81" + +SRC_URI = "http://alioth.debian.org/frs/download.php/3195/minicom-${PV}.tar.gz \ + file://rename-conflicting-functions.patch \ + " + +# file://gcc4-scope.patch;patch=1 \ + +inherit autotools gettext + +do_install() { + for d in doc extras man lib src; do make -C $d DESTDIR=${D} install; done +} + +SRC_URI[md5sum] = "700976a3c2dcc8bbd50ab9bb1c08837b" +SRC_URI[sha256sum] = "700976a3c2dcc8bbd50ab9bb1c08837b" -- cgit 1.2.3-korg