diff options
author | Markus Ullmann <jokey@gentoo.org> | 2009-05-19 21:58:45 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2009-05-19 21:58:45 +0000 |
commit | 8255efc0bf640b00764896d1206fc6a93fd58066 (patch) | |
tree | a0ad077cdb3b7a2178f2e3458222459fbc04627e /net-dialup/minicom | |
parent | Use dosym in java_pkg-doso and fix few debug prints. Patch by Davide Pesavent... (diff) | |
download | historical-8255efc0bf640b00764896d1206fc6a93fd58066.tar.gz historical-8255efc0bf640b00764896d1206fc6a93fd58066.tar.bz2 historical-8255efc0bf640b00764896d1206fc6a93fd58066.zip |
Add glibc name conflict fix, thanks to Conrad Kostecki in bug #270452
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'net-dialup/minicom')
-rw-r--r-- | net-dialup/minicom/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/minicom/Manifest | 15 | ||||
-rw-r--r-- | net-dialup/minicom/files/minicom-2.3-getline-rename.patch | 111 | ||||
-rw-r--r-- | net-dialup/minicom/minicom-2.3-r1.ebuild | 7 |
4 files changed, 125 insertions, 16 deletions
diff --git a/net-dialup/minicom/ChangeLog b/net-dialup/minicom/ChangeLog index aebb6a7a51a5..730918d478ac 100644 --- a/net-dialup/minicom/ChangeLog +++ b/net-dialup/minicom/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/minicom -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/ChangeLog,v 1.67 2008/11/18 22:32:03 mrness Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/ChangeLog,v 1.68 2009/05/19 21:58:44 jokey Exp $ + + 19 May 2009; Markus Ullmann <jokey@gentoo.org> minicom-2.3-r1.ebuild, + +files/minicom-2.3-getline-rename.patch: + Add glibc name conflict fix, thanks to Conrad Kostecki in bug #270452 18 Nov 2008; Alin Năstac <mrness@gentoo.org> minicom-2.2-r1.ebuild, minicom-2.3-r1.ebuild: diff --git a/net-dialup/minicom/Manifest b/net-dialup/minicom/Manifest index 6624f22e653c..cc88c727d33a 100644 --- a/net-dialup/minicom/Manifest +++ b/net-dialup/minicom/Manifest @@ -1,20 +1,11 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX minicom-2.2-gentoo-runscript.patch 1800 RMD160 8a0557655bb0891056e63dd6a34eb94afe67f0df SHA1 5c7bb07bf5bdf0c8012d03580423ab94c344775b SHA256 c3c78abff17d4f994edcb4de0eb3f5da3aefc093d5e14eacdb68da95a9ef4b58 AUX minicom-2.2-one-off.patch 4973 RMD160 cfff10e6537730f14e391bd94e52cb68f08c59f9 SHA1 7f24409e26d30a64b84ba4650fcfb376630958e6 SHA256 db6109a7be1551b1e3ee96af35e8bfd55b8d1dbf24236a220118e849b47dbefd AUX minicom-2.3-gentoo-runscript.patch 2382 RMD160 962ce7c90ebf0afd835a8ee542a215b543c81516 SHA1 a1eb2b5e81e2a0b7a2ac248bae71e64322c91fcc SHA256 9d79ab8eb2942cdbde2b65ab7958b7c485c83428f31e5644f0f2af2c1d6bffb7 +AUX minicom-2.3-getline-rename.patch 3692 RMD160 5a384cb10e440c64c02be4cdd26ea6c318789714 SHA1 0c28f1eb5a74e8b7a43e60bf7cf324241865609b SHA256 a13c2b079ef8d9228a1e39074391d2ad1f2c6c70b02a529e842ec5d288ec40a8 AUX minirc.dfl 66 RMD160 a2c022fc9eb61cf202a47110a9cf6744b8b69222 SHA1 650e923892ee800221711cffaf659a123a81a612 SHA256 d7a08c0a5befc155170b8e6009b028c0361e72da6c2c3f55e1858711eaaca5a0 DIST minicom-2.2.tar.gz 720536 RMD160 2796e731078507160c466e952f3c9f6144b9c3f4 SHA1 75018c283f0d037d49a93fa077a186adde263569 SHA256 cc0406714ece77f5b1b1cb9e85e937531de556a72f962a3532c02da41b154d64 DIST minicom-2.3.tar.gz 789162 RMD160 562995c04e6ff912d6bcab77b5007eac8950793a SHA1 407c4898a882f14639f30b394805382df0585b50 SHA256 2acbc3d4a07e1134ee285a72fa44bbc27703b02dba02be68db9e6fd8320356fb EBUILD minicom-2.2-r1.ebuild 1452 RMD160 70852b2d67c7370343f7589b71ee0857175572f2 SHA1 a8b3944eccb15f9b7922f30e673d5d73b074b44a SHA256 899da5b85e9c7b22ccb5f0a7812c88fcb9bcd7976152ef6b24b18d8b3e0bba80 -EBUILD minicom-2.3-r1.ebuild 1409 RMD160 9c375d14226566fabfd61b7e0a576d303ac4cce6 SHA1 0cc1c28686c2ce428317ac72b29c8a6025a5fb26 SHA256 77f7fe6f9de03b4270ad75e3d288f766abf6d390a9d1606a1603606429b44013 -MISC ChangeLog 8439 RMD160 a7fe139610aadc3a6c2e8279faaa4d5adfa93e8f SHA1 c777959121e15a158047974a39260bb8f0ca41df SHA256 b7bdafc1baae0adb35a52a2591f460aa1feedea0c82e4318407b6069f2dbbb07 +EBUILD minicom-2.3-r1.ebuild 1479 RMD160 0ade064da0abee7a9cfc7c7c08eb989f2484faf4 SHA1 344316c769b0cedc37f4856c467fafa4e2b1cac5 SHA256 4f101f65e85dce1db5d778cbe43457d709513aadc06dad39af719b384013ada8 +MISC ChangeLog 8626 RMD160 97ada216703f030b2b2d30490ea393a7e022a26f SHA1 b8d6997b7eccebd9290985229feee9cec8e77a90 SHA256 d5c472185fc094a110ac956b7ba6a8e803aff8f0d1e0e5717c8de4b4ef015ea4 MISC metadata.xml 347 RMD160 f6f4c9350a9198b25f9c9b71e23f5bce17affbf5 SHA1 6f640f41decae78a980f7d698a76a9a050ab3b1b SHA256 9e68a0adb4c54f783787ed3b7cd2d8dc56f6dc58d0998cc0ebcdcb263f4a1d82 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkkjQmkACgkQPrHvTlXvhtvYyACdEUtvSfbZJcBw5ILmzDZlJlNM -2gwAn39/m3H7TBiZv+BhwPDlA+q9DgoY -=HO6V ------END PGP SIGNATURE----- diff --git a/net-dialup/minicom/files/minicom-2.3-getline-rename.patch b/net-dialup/minicom/files/minicom-2.3-getline-rename.patch new file mode 100644 index 000000000000..5ea6c7622a9a --- /dev/null +++ b/net-dialup/minicom/files/minicom-2.3-getline-rename.patch @@ -0,0 +1,111 @@ +--- minicom-2.3.orig/src/minicom.c 2008-02-02 23:49:53.000000000 +0100 ++++ minicom-2.3/src/minicom.c 2009-05-19 22:09:13.121029740 +0200 +@@ -167,7 +167,7 @@ + #endif /*SIGTSTP*/ + + /* Get a line from either window or scroll back buffer. */ +-static ELM *getline(WIN *w, int no) ++static ELM *_getline(WIN *w, int no) + { + int i; + static ELM outofrange[MAXCOLS] = {{0,0,0}}; +@@ -205,7 +205,7 @@ + + w->direct = 0; + for (f = 0; f < w->ys; f++) +- mc_wdrawelm(w, f, getline(w, y++)); ++ mc_wdrawelm(w, f, _getline(w, y++)); + if (r) + mc_wredraw(w, 1); + w->direct = 1; +@@ -227,7 +227,7 @@ + tmp_line[0]='\0'; + w->direct = 0; + for (f = 0; f < w->ys; f++) { +- tmp_e = getline(w, y++); ++ tmp_e = _getline(w, y++); + + /* First we "accumulate" the line into a variable */ + mc_wdrawelm_var(w, tmp_e, tmp_line); +@@ -324,7 +324,7 @@ + + for (next_line = hit_line; next_line <= all_lines; next_line++) { + /* we do 'something' here... :-) */ +- tmp_e = getline(w_hist, next_line); ++ tmp_e = _getline(w_hist, next_line); + + /* + * First we "accumulate" the line into a variable. +@@ -379,9 +379,9 @@ + static void drawcite(WIN *w, int y, int citey, int start, int end) + { + if (y+citey >= start && y+citey <= end) +- mc_wdrawelm_inverse(w, y, getline(w, y+citey)); ++ mc_wdrawelm_inverse(w, y, _getline(w, y+citey)); + else +- mc_wdrawelm(w, y, getline(w, y+citey)); ++ mc_wdrawelm(w, y, _getline(w, y+citey)); + } + + static void drawcite_whole(WIN *w, int y, int start, int end) +@@ -400,7 +400,7 @@ + for (y=start; y<=end; y++) { + vt_send('>'); + vt_send(' '); +- tmp_e = getline(w, y); ++ tmp_e = _getline(w, y); + mc_wdrawelm_var(w, tmp_e, tmp_line); + tmp_line[w->xs] = 0; + for (x = w->xs-1; x >= 0; x--) { +@@ -600,7 +600,7 @@ + if (citemode) { + inverse = (y+cite_y >= cite_ystart && y+cite_y <= cite_yend); + } else { +- tmp_e = getline(b_us, y); ++ tmp_e = _getline(b_us, y); + if (wcslen(look_for) > 1) { + /* quick scan for pattern match */ + mc_wdrawelm_var(b_us, tmp_e, tmp_line); +@@ -611,9 +611,9 @@ + } + + if (inverse) +- mc_wdrawelm_inverse(b_us, 0, getline(b_us, y)); ++ mc_wdrawelm_inverse(b_us, 0, _getline(b_us, y)); + else +- mc_wdrawelm(b_us, 0, getline(b_us, y)); ++ mc_wdrawelm(b_us, 0, _getline(b_us, y)); + if (citemode) + mc_wlocate(b_us, 0, cite_y); + mc_wflush(); +@@ -648,7 +648,7 @@ + if (citemode) { + inverse = (y+cite_y >= cite_ystart && y+cite_y <= cite_yend); + } else { +- tmp_e = getline(b_us, y + b_us->ys - 1); ++ tmp_e = _getline(b_us, y + b_us->ys - 1); + if (wcslen(look_for) > 1) { + /* quick scan for pattern match */ + mc_wdrawelm_var(b_us, tmp_e, tmp_line); +@@ -660,10 +660,10 @@ + + if (inverse) + mc_wdrawelm_inverse(b_us, b_us->ys - 1, +- getline(b_us, y + b_us->ys - 1)); ++ _getline(b_us, y + b_us->ys - 1)); + else + mc_wdrawelm(b_us, b_us->ys - 1, +- getline(b_us, y + b_us->ys - 1)); ++ _getline(b_us, y + b_us->ys - 1)); + if (citemode) + mc_wlocate(b_us, 0, cite_y); + mc_wflush(); +@@ -753,7 +753,7 @@ + mc_wlocate(b_st, 0, 0); + mc_wprintf(b_st, hline); + mc_wredraw(b_st, 1); +- mc_wdrawelm_inverse(b_us, cite_y, getline(b_us, cite_ystart)); ++ mc_wdrawelm_inverse(b_us, cite_y, _getline(b_us, cite_ystart)); + mc_wlocate(b_us, 0, cite_y); + break; + case K_ESC: diff --git a/net-dialup/minicom/minicom-2.3-r1.ebuild b/net-dialup/minicom/minicom-2.3-r1.ebuild index 2b810d73420c..a6e1f15ed11a 100644 --- a/net-dialup/minicom/minicom-2.3-r1.ebuild +++ b/net-dialup/minicom/minicom-2.3-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/minicom-2.3-r1.ebuild,v 1.6 2008/11/18 22:32:03 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/minicom-2.3-r1.ebuild,v 1.7 2009/05/19 21:58:44 jokey Exp $ inherit eutils @@ -29,6 +29,9 @@ IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" src_unpack() { unpack ${A} epatch "${FILESDIR}"/${P}-gentoo-runscript.patch + + #glibc name conflict + epatch "${FILESDIR}"/${P}-getline-rename.patch } src_compile() { |