summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-03-22 12:45:26 +0000
committerobache <obache@pkgsrc.org>2013-03-22 12:45:26 +0000
commitdf70cc04888f3d5316bb17591bfee04501de3a8e (patch)
treefe41d16f8a6a21a853906174207f358027f7e17c /inputmethod
parentb03b96c0e145bc307d8e258ebffb7f526a481761 (diff)
downloadpkgsrc-df70cc04888f3d5316bb17591bfee04501de3a8e.tar.gz
add include <cstrin> for strlen.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/scim-fcitx/distinfo3
-rw-r--r--inputmethod/scim-fcitx/patches/patch-src_scim__fcitx__imengine.cpp14
2 files changed, 16 insertions, 1 deletions
diff --git a/inputmethod/scim-fcitx/distinfo b/inputmethod/scim-fcitx/distinfo
index b621948d3b2..3f0c0b38cec 100644
--- a/inputmethod/scim-fcitx/distinfo
+++ b/inputmethod/scim-fcitx/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2013/03/20 06:08:44 obache Exp $
+$NetBSD: distinfo,v 1.3 2013/03/22 12:45:26 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_scim__fcitx__imengine.cpp) = ce70db4491d62191b1c80c6e8f6434127a3cb1a3
SHA1 (patch-src_tools.cpp) = 3d3e3328289faebea780a1504f1ce70e8d7a2671
diff --git a/inputmethod/scim-fcitx/patches/patch-src_scim__fcitx__imengine.cpp b/inputmethod/scim-fcitx/patches/patch-src_scim__fcitx__imengine.cpp
new file mode 100644
index 00000000000..12a80c4cde9
--- /dev/null
+++ b/inputmethod/scim-fcitx/patches/patch-src_scim__fcitx__imengine.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_scim__fcitx__imengine.cpp,v 1.1 2013/03/22 12:45:26 obache Exp $
+
+* <cstring> is required for strlen().
+
+--- src/scim_fcitx_imengine.cpp.orig 2005-05-20 14:41:12.000000000 +0000
++++ src/scim_fcitx_imengine.cpp
+@@ -35,6 +35,7 @@
+ #define Uses_SCIM_CONFIG_BASE
+ #define Uses_SCIM_CONFIG_PATH
+
++#include <cstring>
+ #include <scim.h>
+ #include "scim_fcitx_imengine.h"
+ #include "main.h"