diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-07-02 22:32:42 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-07-02 22:32:42 +0000 |
commit | 8df717cfa7dd629a5235543011a807f62020e27e (patch) | |
tree | b91a67179f234b200b18218e71894ce28a1b5e2d /dev-libs/m17n-lib | |
parent | Fix gtk+ version dependency. Drop old. (diff) | |
download | gentoo-2-8df717cfa7dd629a5235543011a807f62020e27e.tar.gz gentoo-2-8df717cfa7dd629a5235543011a807f62020e27e.tar.bz2 gentoo-2-8df717cfa7dd629a5235543011a807f62020e27e.zip |
Patch to use aspell instead of ispell. #424427
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/m17n-lib')
-rw-r--r-- | dev-libs/m17n-lib/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/m17n-lib/files/m17n-lib-1.6.3-ispell.patch | 13 | ||||
-rw-r--r-- | dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild | 9 |
3 files changed, 23 insertions, 6 deletions
diff --git a/dev-libs/m17n-lib/ChangeLog b/dev-libs/m17n-lib/ChangeLog index 9981b4fb50be..5dfc2327e022 100644 --- a/dev-libs/m17n-lib/ChangeLog +++ b/dev-libs/m17n-lib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/m17n-lib # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.56 2012/07/01 01:25:44 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/ChangeLog,v 1.57 2012/07/02 22:32:42 naota Exp $ + + 02 Jul 2012; Naohiro Aota <naota@gentoo.org> + +files/m17n-lib-1.6.3-ispell.patch, m17n-lib-1.6.3-r1.ebuild: + Patch to use aspell instead of ispell. #424427 *m17n-lib-1.6.3-r1 (01 Jul 2012) @@ -214,4 +218,3 @@ 16 May 2004; Mamoru KOMACHI <usata@gentoo.org> m17n-lib-1.0.2.ebuild: Initial import. - diff --git a/dev-libs/m17n-lib/files/m17n-lib-1.6.3-ispell.patch b/dev-libs/m17n-lib/files/m17n-lib-1.6.3-ispell.patch new file mode 100644 index 000000000000..d548bdf20486 --- /dev/null +++ b/dev-libs/m17n-lib/files/m17n-lib-1.6.3-ispell.patch @@ -0,0 +1,13 @@ +diff --git a/example/mimx-ispell.c b/example/mimx-ispell.c +index daa244f..7507de8 100644 +--- a/example/mimx-ispell.c ++++ b/example/mimx-ispell.c +@@ -166,7 +166,7 @@ ispell_word (MPlist *args) + return add_action (actions, msymbol ("shift"), Msymbol, init_state); + + buf[nbytes] = '\0'; +- sprintf (command, "echo %s | ispell -a -m", (char *) buf); ++ sprintf (command, "echo %s | ispell-aspell -a -m", (char *) buf); + ispell = popen (command, "r"); + if (! ispell) + return add_action (actions, msymbol ("shift"), Msymbol, init_state); diff --git a/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild b/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild index 28d945193315..775ca7fa6a08 100644 --- a/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild +++ b/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild,v 1.1 2012/07/01 01:25:44 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/m17n-lib/m17n-lib-1.6.3-r1.ebuild,v 1.2 2012/07/02 22:32:42 naota Exp $ EAPI=4 @@ -17,7 +17,7 @@ IUSE="anthy athena anthy bidi fontconfig gd spell libotf libxml2 X xft" RDEPEND=" anthy? ( app-i18n/anthy ) - spell? ( app-text/ispell ) + spell? ( app-text/aspell ) libxml2? ( dev-libs/libxml2 ) X? ( athena? ( x11-libs/libXaw ) @@ -44,7 +44,8 @@ src_prepare() { epatch \ "${FILESDIR}"/${PN}-1.6.2-gui.patch \ "${FILESDIR}"/${PN}-1.6.3-parallel-make.patch \ - "${FILESDIR}"/${PN}-1.6.3-configure.patch + "${FILESDIR}"/${PN}-1.6.3-configure.patch \ + "${FILESDIR}"/${PN}-1.6.3-ispell.patch eautoreconf } @@ -57,7 +58,7 @@ src_configure() { $(use_with fontconfig) $(use_with xft freetype) $(use_with gd) $(use_with libotf) $(use_with xft)" else - myconf+=" --without-x --disable-gui --without-athena --without-friidi + myconf+=" --without-x --disable-gui --without-athena --without-fribidi --without-fontconfig --without-freetype --without-gd --without-libotf --without-xft" fi |