diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-04-30 19:23:44 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-04-30 19:23:44 +0000 |
commit | e92429d6e6fa3c43745440f5bd3eb55dd66fbd8d (patch) | |
tree | 7e722c1fcd86fc8ef34187d7367d718a5f22d4ab /chinese/scim-fcitx/files/patch-src__sp.cpp | |
parent | graphics/delaboratory: fix build with GCC-based architectures (diff) |
chinese/scim-fcitx: fix build with GCC-based architectures
Apart from using new GCC on GCC architectures, this port also needs to including sys/types.h and cstring in some cpp files:
/usr/local/lib/libscim-1.0.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@GLIBCXX_3.4.21'
PR: 237148
Approved by: meta (maintainer timeout), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20106
Notes
Notes:
svn path=/head/; revision=500557
Diffstat (limited to 'chinese/scim-fcitx/files/patch-src__sp.cpp')
-rw-r--r-- | chinese/scim-fcitx/files/patch-src__sp.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chinese/scim-fcitx/files/patch-src__sp.cpp b/chinese/scim-fcitx/files/patch-src__sp.cpp index 94c7272e27b9..3a9a441ce920 100644 --- a/chinese/scim-fcitx/files/patch-src__sp.cpp +++ b/chinese/scim-fcitx/files/patch-src__sp.cpp @@ -1,6 +1,11 @@ ---- src/sp.cpp.orig 2005-05-08 20:11:29.000000000 +0400 -+++ src/sp.cpp 2014-07-23 03:21:49.000000000 +0400 -@@ -11,6 +11,7 @@ +--- src/sp.cpp.orig 2005-05-08 16:11:29 UTC ++++ src/sp.cpp +@@ -7,10 +7,12 @@ + #include "scim_fcitx_imengine.h" + using namespace scim; + ++#include <cstring> + #include <stdio.h> #include <sys/stat.h> #include <limits.h> #include <ctype.h> |