aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-02-19 11:21:04 +0000
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2006-02-19 11:21:04 +0000
commitc076dcb797f5ba266f84a9ea2d4446bb71b41205 (patch)
treef4d3e75b58214d1820b532a871fd679e2a51fb0a /japanese
parent4a209183cf7759762f3e26b4685c27fc00405afd (diff)
downloadports-c076dcb797f5ba266f84a9ea2d4446bb71b41205.tar.gz
ports-c076dcb797f5ba266f84a9ea2d4446bb71b41205.zip
Fix failure of anthy dictionary generation with TMPDIR environment variable.
Submitted by: HASHIYA Takamitsu <hiraya@interrupt.gr.jp>
Notes
Notes: svn path=/head/; revision=156386
Diffstat (limited to 'japanese')
-rw-r--r--japanese/anthy/files/patch-mkanthydic_mkdic.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/japanese/anthy/files/patch-mkanthydic_mkdic.c b/japanese/anthy/files/patch-mkanthydic_mkdic.c
new file mode 100644
index 000000000000..87bfa792d88a
--- /dev/null
+++ b/japanese/anthy/files/patch-mkanthydic_mkdic.c
@@ -0,0 +1,11 @@
+--- mkanthydic/mkdic.c.orig Sun Feb 19 20:11:14 2006
++++ mkanthydic/mkdic.c Sun Feb 19 20:11:38 2006
+@@ -121,7 +121,7 @@
+ if (fd == -1) {
+ *(fs->fpp) = NULL;
+ } else {
+- *(fs->fpp) = fdopen(fd, "w");
++ *(fs->fpp) = fdopen(fd, "w+");
+ unlink(buf);
+ }
+ } else {