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:
parent
8c0aa218c9
commit
1e73268a09
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382329
14
lang/icon/files/patch-ipl_cfuncs_fpoll.c
Normal file
14
lang/icon/files/patch-ipl_cfuncs_fpoll.c
Normal 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;
|
11
lang/icon/files/patch-ipl_cfuncs_mklib.sh
Normal file
11
lang/icon/files/patch-ipl_cfuncs_mklib.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user