summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-03-13 08:55:11 +0000
committerMamoru Komachi <usata@gentoo.org>2004-03-13 08:55:11 +0000
commitbb4ad5fb4ff30ffe301922766631f44e6053aed4 (patch)
tree67db7ea6a0eeddca2dcd6594b00a858a455f5f48 /app-text/cmigemo
parentMoved to ~arch as it borks with newer gccs. Also, upstream development is de... (diff)
downloadgentoo-2-bb4ad5fb4ff30ffe301922766631f44e6053aed4.tar.gz
gentoo-2-bb4ad5fb4ff30ffe301922766631f44e6053aed4.tar.bz2
gentoo-2-bb4ad5fb4ff30ffe301922766631f44e6053aed4.zip
Added missing migemo-dict patch.
Diffstat (limited to 'app-text/cmigemo')
-rw-r--r--app-text/cmigemo/ChangeLog6
-rw-r--r--app-text/cmigemo/cmigemo-1.2.ebuild4
-rw-r--r--app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff23
3 files changed, 30 insertions, 3 deletions
diff --git a/app-text/cmigemo/ChangeLog b/app-text/cmigemo/ChangeLog
index 9e4c585c2254..ed6aaacc967d 100644
--- a/app-text/cmigemo/ChangeLog
+++ b/app-text/cmigemo/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for app-text/cmigemo
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/ChangeLog,v 1.5 2004/03/11 18:56:56 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/ChangeLog,v 1.6 2004/03/13 08:55:11 usata Exp $
*cmigemo-1.2 (12 Mar 2004)
+ 13 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> cmigemo-1.2.ebuild,
+ files/cmigemo-1.2-migemo-dict.diff:
+ Added missing migemo-dict patch.
+
12 Mar 2004; Mamoru KOMACHI <usata@gentoo.org> cmigemo-1.2.ebuild:
Version bumped. Thanks to NODA Kai <g340299@mail.ecc.u-tokyo.ac.jp> for
contributing English translation of LICENSE_j.txt.
diff --git a/app-text/cmigemo/cmigemo-1.2.ebuild b/app-text/cmigemo/cmigemo-1.2.ebuild
index 33380b0ccc0b..a7b610b5a053 100644
--- a/app-text/cmigemo/cmigemo-1.2.ebuild
+++ b/app-text/cmigemo/cmigemo-1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/cmigemo-1.2.ebuild,v 1.1 2004/03/11 18:56:56 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/cmigemo/cmigemo-1.2.ebuild,v 1.2 2004/03/13 08:55:11 usata Exp $
IUSE="emacs"
@@ -24,7 +24,7 @@ src_unpack() {
unpack ${A}
- has_version 'app-editors/vim-core' && epatch ${FILESDIR}/${P}-migemo-dict.diff
+ epatch ${FILESDIR}/${P}-migemo-dict.diff
touch ${S}/dict/SKK-JISYO.L
diff --git a/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff b/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff
new file mode 100644
index 000000000000..a216ceafb0ca
--- /dev/null
+++ b/app-text/cmigemo/files/cmigemo-1.2-migemo-dict.diff
@@ -0,0 +1,23 @@
+diff -urN cmigemo-1.2.ORIG/tools/migemo.vim cmigemo-1.2/tools/migemo.vim
+--- cmigemo-1.2.ORIG/tools/migemo.vim 2003-01-07 22:57:59.000000000 +0900
++++ cmigemo-1.2/tools/migemo.vim 2004-03-13 17:25:31.944190968 +0900
+@@ -20,7 +20,7 @@
+ let dict = globpath(path, "migemo-dict")
+ endif
+ if dict == ''
+- let dict = '/usr/local/share/migemo/'.&encoding.'/migemo-dict'
++ let dict = '/usr/share/migemo/migemo-dict'
+ if !filereadable(dict)
+ let dict = ''
+ endif
+@@ -43,7 +43,9 @@
+ nnoremap <Leader>f :call <SID>SearchChar(0)<CR>
+ else
+ " non-builtin version
+- let g:migemodict = s:SearchDict()
++ if !exists('g:migemodict')
++ let g:migemodict = s:SearchDict()
++ endif
+ command! -nargs=* Migemo :call <SID>MigemoSearch(<q-args>)
+ nnoremap <silent> <leader>mi :call <SID>MigemoSearch('')<cr>
+