[MacPorts] #44647: p5.20-io-tty: fails to build on 10.6
MacPorts
noreply at macports.org
Wed Dec 24 03:43:18 PST 2014
#44647: p5.20-io-tty: fails to build on 10.6
---------------------------+--------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: snowleopard
Port: p5.20-io-tty |
---------------------------+--------------------------------
Comment (by mojca@…):
Here is how they fixed the problem:
https://github.com/toddr/IO-
Tty/commit/b59e8e2b6f001a135d49cb8f10a9ca4d49a1d5c5
{{{
#!patch
--- Tty.xs.orig
+++ Tty.xs
@@ -58,7 +58,9 @@ typedef FILE * InOutStream;
#endif /* HAVE_UTIL_H */
#ifdef HAVE_UTIL_H
-# include <util.h>
+# if ((PATCHLEVEL < 19) && (SUBVERSION < 4))
+# include <util.h>
+# endif
#endif /* HAVE_UTIL_H */
#ifdef HAVE_PTY_H
}}}
I'm still convinced that `util.h` needs patching though.
I updated the port to 1.12 in r130002.
--
Ticket URL: <https://trac.macports.org/ticket/44647#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list