diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-05-04 01:34:41 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-05-04 01:34:41 +0000 |
commit | d992f4d723e466b665725b0fa2ffeefc0368797e (patch) | |
tree | e7036373d79c91bde5efa3aadd7eaaf07379e9f3 /app-i18n/sunpinyin/files | |
parent | Moved app-i18n/ibus-sunpinyin to app-i18n/sunpinyin. (diff) | |
download | historical-d992f4d723e466b665725b0fa2ffeefc0368797e.tar.gz historical-d992f4d723e466b665725b0fa2ffeefc0368797e.tar.bz2 historical-d992f4d723e466b665725b0fa2ffeefc0368797e.zip |
Moving app-i18n/ibus-sunpinyin to app-i18n/sunpinyin.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-i18n/sunpinyin/files')
-rw-r--r-- | app-i18n/sunpinyin/files/sunpinyin-2.0.1-mkdir.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app-i18n/sunpinyin/files/sunpinyin-2.0.1-mkdir.patch b/app-i18n/sunpinyin/files/sunpinyin-2.0.1-mkdir.patch new file mode 100644 index 000000000000..71cfcae40324 --- /dev/null +++ b/app-i18n/sunpinyin/files/sunpinyin-2.0.1-mkdir.patch @@ -0,0 +1,12 @@ +diff -Naur sunpinyin-2.0.orig/wrapper/xim/settings.c sunpinyin-2.0/wrapper/xim/settings.c +--- sunpinyin-2.0.orig/wrapper/xim/settings.c 2010-04-10 20:37:24.000000000 +0900 ++++ sunpinyin-2.0/wrapper/xim/settings.c 2010-05-04 10:16:45.000000000 +0900 +@@ -294,7 +294,7 @@ + if (fp == NULL) { + char config_dir[256]; + snprintf(config_dir, 256, "%s/.sunpinyin", getenv("HOME")); +- mkdir(config_dir, 0600); ++ mkdir(config_dir, 0700); + char cmd[256]; + snprintf(cmd, 256, "cp %s %s", DEFAULT_SETTING_FILE, path); + system(cmd); |