[MacPorts] #46701: kerberos5 does not build on PPC Tiger, Mac OS X 10.4.11, because void value cannot be ignored as it ought to be
MacPorts
noreply at macports.org
Mon May 18 19:30:03 PDT 2015
#46701: kerberos5 does not build on PPC Tiger, Mac OS X 10.4.11, because void value
cannot be ignored as it ought to be
------------------------------+---------------------------
Reporter: Peter_Dyballa@… | Owner: ryandesign@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: tiger powerpc
Port: kerberos5 |
------------------------------+---------------------------
Comment (by ryandesign@…):
The [http://www.r-project.org/ R project] fixed a similar problem in their
software back in 2007 with this patch:
{{{
Index: src/main/sysutils.c
===================================================================
--- src/main/sysutils.c (revision 40400)
+++ src/main/sysutils.c (revision 40401)
@@ -26,6 +26,10 @@
#include <config.h>
#endif
+#if defined(__APPLE__) && ( ! defined(_POSIX_C_SOURCE) ||
(_POSIX_C_SOURCE < 200112L) )
+#define _POSIX_C_SOURCE 200112L /* for correct unsetenv */
+#endif
+
#include <stdlib.h> /* for putenv */
#include <Defn.h>
#include <R_ext/Riconv.h>
}}}
That's revision !r40401 in their repository at
https://svn.r-project.org/R/. See
https://stat.ethz.ch/pipermail/r-devel/2007-January/044228.html. Perhaps
something similar would help kerberos5.
--
Ticket URL: <https://trac.macports.org/ticket/46701#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list