Index: head/devel/xeus-cling/files/patch-src_xpaths.cpp =================================================================== --- head/devel/xeus-cling/files/patch-src_xpaths.cpp (nonexistent) +++ head/devel/xeus-cling/files/patch-src_xpaths.cpp (revision 528494) @@ -0,0 +1,22 @@ +--- src/xpaths.cpp.orig 2019-12-23 15:12:48 UTC ++++ src/xpaths.cpp +@@ -24,6 +24,10 @@ + # undef NOMINMAX + # endif + #endif ++#ifdef __FreeBSD__ ++# include ++# include ++#endif + #ifdef __APPLE__ + # include + # include +@@ -69,7 +73,7 @@ namespace xcpp + } + #elif defined (__FreeBSD__) + int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_PATHNAME, -1}; +- if (sysctl(mib, 4, buffer, sizeof(buffer), NULL, 0) != -1) ++ if (sysctl(mib, 4, nullptr, nullptr, buffer, sizeof(buffer)) != -1) + { + path = buffer; + } Property changes on: head/devel/xeus-cling/files/patch-src_xpaths.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property