[MacPorts] #52613: Guile-2.0.13 fails to build on Sierra
MacPorts
noreply at macports.org
Thu Nov 10 14:42:16 CET 2016
#52613: Guile-2.0.13 fails to build on Sierra
-------------------------+--------------------------------
Reporter: mouse07410 | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: sierra
Port: guile |
-------------------------+--------------------------------
Comment (by mwette):
I am still testing but I think I have found a fix. Here is a patch:
{{{
*** libguile/filesys.c-orig 2016-11-05 07:49:09.000000000 -0700
--- libguile/filesys.c 2016-11-10 05:38:53.000000000 -0800
***************
*** 1486,1491 ****
--- 1486,1494 ----
mode_bits = scm_i_mode_bits (mode);
}
+ #ifdef __APPLE__
+ open_flags &= O_APPEND|O_SHLOCK|O_EXLOCK|O_CLOEXEC;
+ #endif
SCM_SYSCALL (rv = mkostemp (c_tmpl, open_flags));
if (rv == -1)
SCM_SYSERROR;
}}}
--
Ticket URL: <https://trac.macports.org/ticket/52613#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list