diff options
author | obache <obache@pkgsrc.org> | 2014-03-26 12:13:17 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-03-26 12:13:17 +0000 |
commit | 4480038a5d3bfe3f0279e29334e0d655abe36abd (patch) | |
tree | 4324f1ea2da850d0dfd84fc4c9e000c3a0591b9a /inputmethod | |
parent | 5e5c7deec1b15631e68d59ac132c42bf7d3c9560 (diff) | |
download | pkgsrc-4480038a5d3bfe3f0279e29334e0d655abe36abd.tar.gz |
fixes missing include of string.h for strcat(3) and strcpy(3).
Diffstat (limited to 'inputmethod')
-rw-r--r-- | inputmethod/scim-fcitx/distinfo | 5 | ||||
-rw-r--r-- | inputmethod/scim-fcitx/patches/patch-src_ime.cpp | 14 | ||||
-rw-r--r-- | inputmethod/scim-fcitx/patches/patch-src_sp.cpp | 6 |
3 files changed, 21 insertions, 4 deletions
diff --git a/inputmethod/scim-fcitx/distinfo b/inputmethod/scim-fcitx/distinfo index 10362b74f3a..c3db4d1277b 100644 --- a/inputmethod/scim-fcitx/distinfo +++ b/inputmethod/scim-fcitx/distinfo @@ -1,11 +1,12 @@ -$NetBSD: distinfo,v 1.4 2013/03/25 12:55:04 obache Exp $ +$NetBSD: distinfo,v 1.5 2014/03/26 12:13:17 obache Exp $ SHA1 (scim-fcitx.3.1.1.tar.bz2) = 900d4c4de01bc87a1f9b543afc15e8ccb1ae7775 RMD160 (scim-fcitx.3.1.1.tar.bz2) = 7c064af4b8c847caac1ae27d6356e9b925bb6528 Size (scim-fcitx.3.1.1.tar.bz2) = 1612134 bytes SHA1 (patch-aa) = 3b50251864dd69c79dfef9c46c728e735a88248e +SHA1 (patch-src_ime.cpp) = e773fbdd58e671cd68515f648724ddc702ec0d65 SHA1 (patch-src_py.cpp) = 7f777dc5593673fd13a475ab0dc836a0ba525a9d SHA1 (patch-src_scim__fcitx__imengine.cpp) = ce70db4491d62191b1c80c6e8f6434127a3cb1a3 -SHA1 (patch-src_sp.cpp) = bb845c6cdc22095b65ef313e5e47c110738c4d9a +SHA1 (patch-src_sp.cpp) = 9197b71c17929b63d2b60e90129960960e56260f SHA1 (patch-src_table.cpp) = b5b7a883330b30d7a3493d9895e18576afbc5fb9 SHA1 (patch-src_tools.cpp) = 3d3e3328289faebea780a1504f1ce70e8d7a2671 diff --git a/inputmethod/scim-fcitx/patches/patch-src_ime.cpp b/inputmethod/scim-fcitx/patches/patch-src_ime.cpp new file mode 100644 index 00000000000..5c6a1f36de9 --- /dev/null +++ b/inputmethod/scim-fcitx/patches/patch-src_ime.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_ime.cpp,v 1.1 2014/03/26 12:13:17 obache Exp $ + +* require string.h for strcpy(3) and strcat(3) + +--- src/ime.cpp.orig 2005-05-21 15:21:48.000000000 +0000 ++++ src/ime.cpp +@@ -3,6 +3,7 @@ + #define Uses_SCIM_CONFIG_BASE + #define Uses_SCIM_CONFIG_PATH + #include <ctype.h> ++#include <string.h> + + #include <scim.h> + #include "scim_fcitx_imengine.h" diff --git a/inputmethod/scim-fcitx/patches/patch-src_sp.cpp b/inputmethod/scim-fcitx/patches/patch-src_sp.cpp index ec390ef3e17..fdf3e6a8681 100644 --- a/inputmethod/scim-fcitx/patches/patch-src_sp.cpp +++ b/inputmethod/scim-fcitx/patches/patch-src_sp.cpp @@ -1,14 +1,16 @@ -$NetBSD: patch-src_sp.cpp,v 1.1 2013/03/25 12:55:04 obache Exp $ +$NetBSD: patch-src_sp.cpp,v 1.2 2014/03/26 12:13:17 obache Exp $ * require unistd.h for access(2) +* require string.h for strcat(3) and strcpy(3) --- src/sp.cpp.orig 2005-05-08 16:11:29.000000000 +0000 +++ src/sp.cpp -@@ -8,6 +8,7 @@ +@@ -8,6 +8,8 @@ using namespace scim; #include <stdio.h> +#include <unistd.h> ++#include <string.h> #include <sys/stat.h> #include <limits.h> #include <ctype.h> |