svn commit: r382329 - head/lang/icon/files
John Marino
marino at FreeBSD.org
Thu Mar 26 16:18:12 UTC 2015
Author: marino
Date: Thu Mar 26 16:18:10 2015
New Revision: 382329
URL: https://svnweb.freebsd.org/changeset/ports/382329
QAT: https://qat.redports.org/buildarchive/r382329/
Log:
lang/icon: Add DragonFly support
Bring in fix from dports (port is not maintained)
Added:
head/lang/icon/files/
head/lang/icon/files/patch-ipl_cfuncs_fpoll.c (contents, props changed)
head/lang/icon/files/patch-ipl_cfuncs_mklib.sh (contents, props changed)
Added: head/lang/icon/files/patch-ipl_cfuncs_fpoll.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/icon/files/patch-ipl_cfuncs_fpoll.c Thu Mar 26 16:18:10 2015 (r382329)
@@ -0,0 +1,14 @@
+--- ipl/cfuncs/fpoll.c.orig 2009-10-27 20:39:16 UTC
++++ ipl/cfuncs/fpoll.c
+@@ -37,7 +37,11 @@
+
+ int fpoll(int argc, descriptor *argv) /*: await data from file */
+ {
++#ifdef __DragonFly__
++ struct __FILE_public *f;
++#else
+ FILE *f;
++#endif
+ int msec, r;
+ fd_set fds;
+ struct timeval tv, *tvp;
Added: head/lang/icon/files/patch-ipl_cfuncs_mklib.sh
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/icon/files/patch-ipl_cfuncs_mklib.sh Thu Mar 26 16:18:10 2015 (r382329)
@@ -0,0 +1,11 @@
+--- ipl/cfuncs/mklib.sh.orig 2015-03-22 15:13:09 UTC
++++ ipl/cfuncs/mklib.sh
+@@ -11,7 +11,7 @@ shift
+ SYS=`uname -s`
+ set -x
+ case "$SYS" in
+- Linux*|*BSD*|GNU*)
++ DragonFly*|Linux*|*BSD*|GNU*)
+ $CC -shared -o $LIBNAME -fPIC "$@";;
+ CYGWIN*)
+ # move the win32 import library for iconx.exe callbacks
More information about the svn-ports-all
mailing list