pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/inputmethod/scim-fcitx fixes missing include of string...
details: https://anonhg.NetBSD.org/pkgsrc/rev/13ef9f40827d
branches: trunk
changeset: 632361:13ef9f40827d
user: obache <obache%pkgsrc.org@localhost>
date: Wed Mar 26 12:13:17 2014 +0000
description:
fixes missing include of string.h for strcat(3) and strcpy(3).
diffstat:
inputmethod/scim-fcitx/distinfo | 5 +++--
inputmethod/scim-fcitx/patches/patch-src_ime.cpp | 14 ++++++++++++++
inputmethod/scim-fcitx/patches/patch-src_sp.cpp | 6 ++++--
3 files changed, 21 insertions(+), 4 deletions(-)
diffs (58 lines):
diff -r b8ea40c57f70 -r 13ef9f40827d inputmethod/scim-fcitx/distinfo
--- a/inputmethod/scim-fcitx/distinfo Wed Mar 26 11:07:27 2014 +0000
+++ b/inputmethod/scim-fcitx/distinfo Wed Mar 26 12:13:17 2014 +0000
@@ -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 -r b8ea40c57f70 -r 13ef9f40827d inputmethod/scim-fcitx/patches/patch-src_ime.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethod/scim-fcitx/patches/patch-src_ime.cpp Wed Mar 26 12:13:17 2014 +0000
@@ -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 -r b8ea40c57f70 -r 13ef9f40827d inputmethod/scim-fcitx/patches/patch-src_sp.cpp
--- a/inputmethod/scim-fcitx/patches/patch-src_sp.cpp Wed Mar 26 11:07:27 2014 +0000
+++ b/inputmethod/scim-fcitx/patches/patch-src_sp.cpp Wed Mar 26 12:13:17 2014 +0000
@@ -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>
Home |
Main Index |
Thread Index |
Old Index