Revision: 149801 https://trac.macports.org/changeset/149801 Author: jmr@macports.org Date: 2016-06-29 23:44:05 -0700 (Wed, 29 Jun 2016) Log Message: ----------- libedit: attempt build fix for systems that lack getline Modified Paths: -------------- trunk/dports/devel/libedit/Portfile Added Paths: ----------- trunk/dports/devel/libedit/files/src__sys.h.patch Modified: trunk/dports/devel/libedit/Portfile =================================================================== --- trunk/dports/devel/libedit/Portfile 2016-06-30 06:28:18 UTC (rev 149800) +++ trunk/dports/devel/libedit/Portfile 2016-06-30 06:44:05 UTC (rev 149801) @@ -25,7 +25,7 @@ depends_lib port:ncurses -patchfiles doc__Makefile.in.patch +patchfiles doc__Makefile.in.patch src__sys.h.patch configure.args --disable-silent-rules --disable-examples Added: trunk/dports/devel/libedit/files/src__sys.h.patch =================================================================== --- trunk/dports/devel/libedit/files/src__sys.h.patch (rev 0) +++ trunk/dports/devel/libedit/files/src__sys.h.patch 2016-06-30 06:44:05 UTC (rev 149801) @@ -0,0 +1,10 @@ +--- src/sys.h.orig 2016-06-11 06:06:42.000000000 +1000 ++++ src/sys.h 2016-06-30 16:40:56.000000000 +1000 +@@ -80,6 +80,7 @@ typedef void *ioctl_t; + #endif + + #include <stdio.h> ++#include <sys/types.h> + + #ifndef HAVE_STRLCAT + #define strlcat libedit_strlcat