diff options
author | Alex Alexander <wired@gentoo.org> | 2010-07-09 08:16:06 +0000 |
---|---|---|
committer | Alex Alexander <wired@gentoo.org> | 2010-07-09 08:16:06 +0000 |
commit | 586edd5967e0e484ca62a9bc6d7e3474c109cc07 (patch) | |
tree | 66dd49fc97cdb2c08c243c275be7c354777b0d3b /app-misc | |
parent | Set XDG_DATA_HOME to prevent test failures like bug #323669. (diff) | |
download | historical-586edd5967e0e484ca62a9bc6d7e3474c109cc07.tar.gz historical-586edd5967e0e484ca62a9bc6d7e3474c109cc07.tar.bz2 historical-586edd5967e0e484ca62a9bc6d7e3474c109cc07.zip |
added patches: chown dialog segfault fix (mc ticket 2264), mcedit quit dialog -> change default to cancel (mc ticket 2265). fixes bug #327573
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/mc/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/mc/Manifest | 31 | ||||
-rw-r--r-- | app-misc/mc/files/mc-4.7.3_advanced_chown_segfault_fix.patch | 11 | ||||
-rw-r--r-- | app-misc/mc/files/mc-4.7.3_mcedit_quit_dialog_default.patch | 20 | ||||
-rw-r--r-- | app-misc/mc/mc-4.7.3-r1.ebuild | 71 |
5 files changed, 128 insertions, 15 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog index f7f52c7d5b1b..c6b0433f73b4 100644 --- a/app-misc/mc/ChangeLog +++ b/app-misc/mc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for app-misc/mc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.201 2010/07/05 21:21:27 wired Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.202 2010/07/09 08:16:06 wired Exp $ + +*mc-4.7.3-r1 (09 Jul 2010) + + 09 Jul 2010; Alex Alexander <wired@gentoo.org> +mc-4.7.3-r1.ebuild, + +files/mc-4.7.3_advanced_chown_segfault_fix.patch, + +files/mc-4.7.3_mcedit_quit_dialog_default.patch: + added patches: chown dialog segfault fix (mc ticket 2264), mcedit quit + dialog -> change default to cancel (mc ticket 2265). fixes bug #327573 *mc-4.7.3 (05 Jul 2010) *mc-4.7.0.7 (05 Jul 2010) diff --git a/app-misc/mc/Manifest b/app-misc/mc/Manifest index 8cd636f86dc1..3154e4ac5acd 100644 --- a/app-misc/mc/Manifest +++ b/app-misc/mc/Manifest @@ -4,6 +4,8 @@ Hash: SHA256 AUX mc-4.7.0.2_hotlist_fix.patch 913 RMD160 344e35fbd503e6fd1f245fe896f4b3c499bdc740 SHA1 857ede6795f9a9c78704c5e6334b3425dc87ea4d SHA256 15775735f244593a3cc9ff49869a91f242226f59bb16649ae484010e5a557dbf AUX mc-4.7.0.2_syntax_fix.patch 187 RMD160 393228cf02a9e4d1a600e0cffc51eb05e5e00512 SHA1 760cbb70eae34511e5132289639ebb1449c35a76 SHA256 5b7567e9b293b0598c444640f5272f8c78085f7e6920b5c6182d6c4a9852b933 AUX mc-4.7.1_find-results-panelization-crash.patch 411 RMD160 9c4b8fb9bc9829ec3101b124ad5e8b85c564f248 SHA1 0286d97763c8cc37d16b98f77a236cbd524dd39e SHA256 1ad39b36d5eb0708842cf764a2e963ca3bc7cb19d5af0bf3648d623ce18c4d3d +AUX mc-4.7.3_advanced_chown_segfault_fix.patch 501 RMD160 044cc1a819606132fa7cd373d081d9ac01778379 SHA1 d22a128595cd83088de8e76feb0222fb70b94f92 SHA256 4ae9d11233b9117d746a6d2f43d2c438360904d54c04163cd6c60f7705321b5f +AUX mc-4.7.3_mcedit_quit_dialog_default.patch 933 RMD160 50d3c337069512da5e377d17b4adb648f55e08aa SHA1 d9f2d5984f63d6df3ea5070d3524e38736179be4 SHA256 c7631ae8590745c7c037b2d86a391a09c0f5f72f2b5d59d2f124b6297119afe9 AUX mc-4.7_mcedit_fix.patch 475 RMD160 eb2234acd6f99abb06c5ae4e20661b43675f2c73 SHA1 f960a559fa7fe3fcb0909ef1b8687c3d786a0b4c SHA256 c08899151ea58423db30eb4d7e5cfb91cc1abec9f1e5b654ed3654f47ea604e6 DIST mc-4.7.0.1.tar.bz2 2831780 RMD160 15d77153377ea8b11910179e7267d70c2ccc303d SHA1 a5953341eee78c29d84f2c426c082a58516904e5 SHA256 4abb66b20c46c583159b29109282cf0d8cf2c7cc078e6062d914c95e776057c4 DIST mc-4.7.0.3.tar.bz2 2793651 RMD160 ecda5e6befe4b1e0442044b732e7903b01ed73ae SHA1 2d319fc940283e4327cd5bc2f977b724461f1305 SHA256 71caeaf00606c45228362fb6a4d2f1b6d47b6c1056db46b975255aac5af45ef7 @@ -16,23 +18,24 @@ EBUILD mc-4.7.0.3.ebuild 1706 RMD160 47509be466b4c9cb659cbaee63ac3f4919802b30 SH EBUILD mc-4.7.0.6.ebuild 1719 RMD160 2a8a7d595fa94d12f890dc70650d906e7202f588 SHA1 e2759e423d1839f3eed88b95bdaef0df56b36d78 SHA256 c968cbccdad5e348d4ea80c08b8d084132bf1d8cc7c3dbf9c55cbde015ee89a8 EBUILD mc-4.7.0.7.ebuild 1719 RMD160 9adbda0d5874d80a8868f6f85d8036cfd90decca SHA1 c841504075cfe25fcadc2238f794a6b3e6592ab5 SHA256 2b0eaf2d7aaf519ba1b8b7be14c590ce16233dd9aa50646cdced168e750d0f28 EBUILD mc-4.7.2.ebuild 1717 RMD160 9d6f6028b4e7380fb599c03a7aa21efe88478d94 SHA1 98d3b7e52c0fe314e1b51f10b8781f14b3548b2c SHA256 5b6aaea6cdd8d6d3472e270e8b1e2de073f90e7539daa32a82e0501ab4d3f670 +EBUILD mc-4.7.3-r1.ebuild 1854 RMD160 1bcd83cbc26a736495a902239b412c756f1cf817 SHA1 3ea5a38d056de4db98ae53f547958381017608d2 SHA256 5a8883329098345a97bff5de6d1fdccc6c85b0ff5dd6b2de996ed2a21e85f580 EBUILD mc-4.7.3.ebuild 1717 RMD160 57ba3a69ae8aba15029922b20d3f63860e647fe2 SHA1 fb0f36d846b2f3c5a49389b0c248f210e4a16760 SHA256 e868e52b5ba00104e451372166e78970f0dba191e5ade210c9680042e41abe9f -MISC ChangeLog 28246 RMD160 7471aee6e355c6c7daa6b384e1711863fbcf2f37 SHA1 e7a84ad4d8e084572ff61cbc54a1bb52a9ee01b4 SHA256 e4212e3c52633ad81fa59e9bf151c0135a654a50e937ded5e4088a5fe472d702 +MISC ChangeLog 28596 RMD160 1c82ecd8486ab955dc74fd74d73d79220b3e8151 SHA1 2c1cf7d2f5199fb813c6f28af37693b5eb1da48a SHA256 4d36f4c390c846e4d6705c94f560c9238f82876b3312cc3e4cf318f90c31cc4f MISC metadata.xml 305 RMD160 319f6d3a222a3028d69dfb5ece59f4ae0343125a SHA1 705291c975a8b25ccc5a040d4fa7feab9190048e SHA256 e8245261e4eaebac2b2f5017c36165f9e733bc1e3619392b8f64c0d5392e7cd9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) -iQIcBAEBCAAGBQJMMk2KAAoJEDZF8K7rm0r6X5AQAJdH2n+dgWReQom0tM7GQYlY -EUMtL662t4Jks/h2ZtAjirMK0cV7VXQS+MebLVr6uBBAa8BiRwehvfhwFEYvXMPC -zsaj/eIqcmtQ7ot9z/EOl9rg05qENIJtSogxE0bG6HViADFmRPqqeSH/xEA1Lbl3 -9k/GUACXe6RdiDO6OZZkHGQ9FnWNXsdCXiG09bC1xwpFQ04BN/Nun9rOsIKGnF3l -OlpJMeyc7m3iOfC8blXYpsqoHA5FQZDlCJp1B8zpP2KeQX2YUl9rChfmGhGESMY7 -QAGVIgfoSH0jDb7KrroJImHd7dZdW6uoUviT/0oVdWoOwS0Pl5zsz8TmhsKb+exE -oHf6v2tGWzpiR/YMcuaO5wtElRMFeqh03hMTT6TbONn9blua7YBvt0IosCiyy8L5 -BMbP7Fv3QEqVaTVOic6NjcHylK2XFzm305lFoXyYc6xz1ud4rG6/DN9/WgAUiz/2 -7ojgr9Nw4obZBt59cTiCoVSzmwVA+hwKT2nFrO8Niq3mwDFJ6bTeDqVobeSubjvb -+6XEXr1oo/OA9pCFeL3AS1yzdUG7DHLKmWGL7irB3dgXEQGSXN+ppyEnrv5Xpc3O -HXphwCyc5SEoHtimeTLswELWL5AzKEk4UvnQf76ysndmpybR1rrF8p90qhuL3PN2 -vUxQxgsILc56eBkm9ndm -=tC/C +iQIcBAEBCAAGBQJMNtuFAAoJEDZF8K7rm0r6TBMQAJSYqFnI7j3WJ6oWjYS1AQ/m +B+logL3YA1qnu+bHowxbVFCYpFX95HHa2Kvc8gIyj7WvpbI0KOP/qbGC21Z/snxR +gncYz+KPYalZIw8U0cAsSFcaPn6k7WHx7iDsTgsZYZ/mCMvW1kuyIzG3fJ+8OQhS +3SGMv/OFiYdh61Amlva3MYkfxeXnnzVJeL67YcIpqL6He1uqbZ/0KzvxpmsAiHb+ +UyYxw6Q44LNvV7z/4xZ/hQLuOWxc0ZHFVwGJj7QKqnGmlpPZU4HGaD2/u2pAUv0W +4YX9s0gMQGg3TD5LRa/FoDQ2jJIHmMdNvVUHumxNn9EZmv54cpbrzwkmOwM5+T6y +szvjjhfq0r2EUROaB7mWY6yEBnASvH5h0+ISAUkTX+yeUfn4GEqidvBn8BlBNLes +b55yygCKkU8JsJ7HpR4Gu9ZpK9kuois3NkP+fX8ByXBE/HUtYgX9FoRLxcHsVIWl +mh4IT3OvDoP+QDGN/k/EtSVMyXp0JGCzHuchxas27NMU7m75yNMY5I1otRCF/NqE +gV353CoswWjk99/GJnGQi0leynKiakiLoqPOL92JuPiQB7IDgJi0LtlSsMhvp3Po +Ou8EGDKM90ZrUmGnqiEdfbnX1JSUmv5uioHpnjM9Xm6n7uCr+nj1iZY2MaBVsfrd +D6MUcGRZLEbYEkIFagRb +=jBMR -----END PGP SIGNATURE----- diff --git a/app-misc/mc/files/mc-4.7.3_advanced_chown_segfault_fix.patch b/app-misc/mc/files/mc-4.7.3_advanced_chown_segfault_fix.patch new file mode 100644 index 000000000000..7def57036b53 --- /dev/null +++ b/app-misc/mc/files/mc-4.7.3_advanced_chown_segfault_fix.patch @@ -0,0 +1,11 @@ +Index: src/achown.c +=================================================================== +--- src/achown.c (revision 74651f2e9f112eacc07ed9d1281e27ce6a4be9d4) ++++ src/achown.c (revision ce12059b0e7c7df3b7a1ebc908d48e4eb3b454e5) +@@ -499,5 +499,5 @@ + break; + flag_pos = f_pos * 3 + i; /* (strchr(ch_perm,parm)-ch_perm); */ +- if (((WButton *) h->current)->text.start[(flag_pos % 3)] == ++ if (((WButton *) h->current->data)->text.start[(flag_pos % 3)] == + '-') + ch_flags[flag_pos] = '+'; diff --git a/app-misc/mc/files/mc-4.7.3_mcedit_quit_dialog_default.patch b/app-misc/mc/files/mc-4.7.3_mcedit_quit_dialog_default.patch new file mode 100644 index 000000000000..364db95a866f --- /dev/null +++ b/app-misc/mc/files/mc-4.7.3_mcedit_quit_dialog_default.patch @@ -0,0 +1,20 @@ +Index: src/editor/editcmd.c +=================================================================== +--- src/editor/editcmd.c (revision 59a85303a8db608f80bc8f0a828d6d22d43937b4) ++++ src/editor/editcmd.c (revision f660c97698a90234bba8e1e9b61999993ac2db69) +@@ -2068,4 +2068,5 @@ + return FALSE; + ++ query_set_sel (2); + act = edit_query_dialog3 (_("Quit"), _("File was modified. Save with exit?"), + _("&Yes"), _("&No"), _("&Cancel quit")); +Index: src/viewer/lib.c +=================================================================== +--- src/viewer/lib.c (revision 48fe4e6881473ecb2f7188684a92450dc842b7b7) ++++ src/viewer/lib.c (revision f660c97698a90234bba8e1e9b61999993ac2db69) +@@ -150,4 +150,5 @@ + if (!midnight_shutdown) + { ++ query_set_sel (2); + r = query_dialog (_("Quit"), + _("File was modified. Save with exit?"), D_NORMAL, 3, diff --git a/app-misc/mc/mc-4.7.3-r1.ebuild b/app-misc/mc/mc-4.7.3-r1.ebuild new file mode 100644 index 000000000000..0abbafd6acf7 --- /dev/null +++ b/app-misc/mc/mc-4.7.3-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.3-r1.ebuild,v 1.1 2010/07/09 08:16:06 wired Exp $ + +EAPI=3 + +inherit base + +MY_P=${P/_/-} + +DESCRIPTION="GNU Midnight Commander is a text based file manager" +HOMEPAGE="http://www.midnight-commander.org" +SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x86-solaris" +IUSE="+edit gpm nls samba slang X" + +RDEPEND=">=dev-libs/glib-2.8:2 + gpm? ( sys-libs/gpm ) + kernel_linux? ( sys-fs/e2fsprogs ) + samba? ( net-fs/samba ) + slang? ( >=sys-libs/slang-2 ) + !slang? ( sys-libs/ncurses ) + X? ( x11-libs/libX11 + x11-libs/libICE + x11-libs/libXau + x11-libs/libXdmcp + x11-libs/libSM )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +S=${WORKDIR}/${MY_P} + +# bug #327573 +PATCHES=( + "${FILESDIR}/${P}_advanced_chown_segfault_fix.patch" + "${FILESDIR}/${P}_mcedit_quit_dialog_default.patch" +) + +src_configure() { + local myscreen=ncurses + use slang && myscreen=slang + + econf \ + --disable-dependency-tracking \ + $(use_enable nls) \ + --enable-vfs \ + $(use_enable kernel_linux vfs-undelfs) \ + --enable-charset \ + $(use_with X x) \ + $(use_with samba) \ + --with-configdir="${EPREFIX}"/etc/samba \ + --with-codepagedir="${EPREFIX}"/var/lib/samba/codepages \ + $(use_with gpm gpm-mouse) \ + --with-screen=${myscreen} \ + $(use_with edit) +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc AUTHORS README +} + +pkg_postinst() { + elog "To enable exiting to latest working directory," + elog "put this into your ~/.bashrc:" + elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" +} |