mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
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
10 lines
250 B
C++
10 lines
250 B
C++
--- src/tools.cpp.orig 2005-05-20 14:41:12 UTC
|
|
+++ src/tools.cpp
|
|
@@ -14,6 +14,7 @@ using namespace scim;
|
|
#include <sys/stat.h>
|
|
#include <limits.h>
|
|
#include <string.h>
|
|
+#include <unistd.h> // for access()
|
|
|
|
#include "version.h"
|
|
#include "PYFA.h"
|