1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

lang/icon: Add DragonFly support

Bring in fix from dports (port is not maintained)
This commit is contained in:
John Marino 2015-03-26 16:18:10 +00:00
parent 8c0aa218c9
commit 1e73268a09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382329
2 changed files with 25 additions and 0 deletions

View File

@ -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;

View File

@ -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