MFH: r384747
Unbreak build on FreeBSD 8.x/9.x and DragonFly
./PYSignal.h:35:22: error: expected namespace name
using namespace std::placeholders;
~~~~~^
./PYSignal.h:49:18: error: no type named 'function' in namespace 'std'
typedef std::function<R()> func_type;
~~~~~^./PYEditor.h:37:14: error: no type named 'shared_ptr' in namespace 'std'
typedef std::shared_ptr<Editor> EditorPtr;
~~~~~^
PYLibPinyin.cc:223:54: error: 'getline' was not declared in this scope
while ((read = getline (&linebuf, &size, dictfile)) != -1) {
^PR: 199408
Reported by: pkg-fallout, DPorts
Submitted by: Henry Hu <henry.hu.sh@gmail.com> (maintainer)
Approved by: ports-secteam (delphij)