ports/math/scilab/files/patch-modules_fileio_includes_os__wfopen.h
Max Brazhnikov 436139c7b3 math/scilab:
- Update to 6.1.0. Requires decent c++ compiler and iconv from ports.
- Clean up patch target: remove no longer needed patches and those ones which
  don't affect build - at least for me.
- Remove MAKE_JOBS_UNSAFE. It was added in svn r417126 arguing that many
  ocaml-dependent ports are not jobs safe, but there were no logs to analyse.
  The plist change in that commit is unrelated to jobs safety.
2020-05-31 13:11:27 +00:00

11 lines
332 B
C

--- modules/fileio/includes/os_wfopen.h.orig 2020-02-25 09:59:50 UTC
+++ modules/fileio/includes/os_wfopen.h
@@ -25,7 +25,7 @@
#endif
// Linux
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
#define os_wfopen linux_fopen
FILE* linux_fopen(const wchar_t* _pstFilename, const wchar_t* _pstMode);
#endif