diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2018-10-27 15:45:32 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2018-10-27 15:45:32 +0000 |
commit | b79a4739153577138d5f01dd381d8b5184763021 (patch) | |
tree | f1121db69be4b19862c55c2ad7421c3cf2e2d5da /japanese/jmode/files/patch-src_anthyconv.cpp | |
parent | * Updated to 161 (diff) |
- Fix build error with Clang 6.
- Pet portlint.
Notes
Notes:
svn path=/head/; revision=483145
Diffstat (limited to 'japanese/jmode/files/patch-src_anthyconv.cpp')
-rw-r--r-- | japanese/jmode/files/patch-src_anthyconv.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/japanese/jmode/files/patch-src_anthyconv.cpp b/japanese/jmode/files/patch-src_anthyconv.cpp new file mode 100644 index 000000000000..74c7cd627a30 --- /dev/null +++ b/japanese/jmode/files/patch-src_anthyconv.cpp @@ -0,0 +1,19 @@ +--- src/anthyconv.cpp.orig 2003-06-02 14:50:36 UTC ++++ src/anthyconv.cpp +@@ -5,6 +5,7 @@ + #endif + + #include <stdio.h> ++#include <string.h> + #include "anthy.xpm" + #include "jmode.h" + #include "anthyconv.h" +@@ -147,7 +148,7 @@ KKContext *AnthyConv::createContext(XimI + return anthy; + } + +-char **AnthyConv::getIcon() ++const char **AnthyConv::getIcon() + { + // toolbarに出てくるアイコンを返す。 + return anthy_xpm; |