Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 16:18:11 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382329 - head/lang/icon/files
Message-ID:  <201503261618.t2QGIB9Y053567@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503261618.t2QGIB9Y053567>