- Lowercase all but the first word of the COMMENT, adjust LICENSE to match the source code headers - Drop unused dependency and INSTALLS_ICONS knob, massage USES and USE_GNOME lists as needed - Install more complete set of high-color icons, do not capitalize loop iterator variable - Provide more elaborate port description, move WWW line where it belongs these days (in the Makefile) and chase redirection - Assume maintainership since previous maintainer had stepped down
11 lines
844 B
C++
11 lines
844 B
C++
--- ext_src/yocto/ext/filesystem.hpp.orig 2022-08-16 08:30:35 UTC
|
|
+++ ext_src/yocto/ext/filesystem.hpp
|
|
@@ -1525,7 +1525,7 @@ GHC_INLINE std::string systemErrorText(ErrorNumber cod
|
|
std::string msg = toUtf8(std::wstring((LPWSTR)msgBuf));
|
|
LocalFree(msgBuf);
|
|
return msg;
|
|
-#elif defined(GHC_OS_MACOS) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) || (defined(GHC_OS_ANDROID) && __ANDROID_API__ < 23) || defined(EMSCRIPTEN)
|
|
+#elif defined(GHC_OS_MACOS) || ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && !defined(_GNU_SOURCE)) || (defined(GHC_OS_ANDROID) && __ANDROID_API__ < 23) || defined(EMSCRIPTEN) || defined(__FreeBSD__)
|
|
char buffer[512];
|
|
int rc = strerror_r(code ? code : errno, buffer, sizeof(buffer));
|
|
return rc == 0 ? (const char*)buffer : "Error in strerror_r!";
|