diff options
author | joerg <joerg@pkgsrc.org> | 2006-03-19 15:57:36 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-03-19 15:57:36 +0000 |
commit | dc2f820d75b04ad52e142da3801a2a3f696b0b68 (patch) | |
tree | d72940e77ae8cfa5a76de6833f7dd8712b935767 /lang/icon/patches | |
parent | 88289cd3ddc9ee1302c11a59d60fefb6ff075146 (diff) | |
download | pkgsrc-dc2f820d75b04ad52e142da3801a2a3f696b0b68.tar.gz |
DragonFly support.
Diffstat (limited to 'lang/icon/patches')
-rw-r--r-- | lang/icon/patches/patch-ay | 14 | ||||
-rw-r--r-- | lang/icon/patches/patch-az | 13 | ||||
-rw-r--r-- | lang/icon/patches/patch-ba | 12 |
3 files changed, 39 insertions, 0 deletions
diff --git a/lang/icon/patches/patch-ay b/lang/icon/patches/patch-ay new file mode 100644 index 00000000000..855fd70392c --- /dev/null +++ b/lang/icon/patches/patch-ay @@ -0,0 +1,14 @@ +$NetBSD: patch-ay,v 1.6 2006/03/19 15:57:36 joerg Exp $ + +--- ipl/cfuncs/fpoll.c.orig 2006-03-19 15:06:16.000000000 +0000 ++++ ipl/cfuncs/fpoll.c +@@ -65,6 +65,9 @@ int fpoll(int argc, descriptor *argv) /* + #elif defined(__GLIBC__) /* old GCC library */ + if (f->__bufp < f->__get_limit) + RetArg(1); ++#elif defined(__DragonFly__) ++ if (((struct __FILE_public *)f)->_r > 0) ++ RetArg(1); + #elif defined(_FSTDIO) /* new BSD library */ + if (f->_r > 0) + RetArg(1); diff --git a/lang/icon/patches/patch-az b/lang/icon/patches/patch-az new file mode 100644 index 00000000000..7c5543a7d7a --- /dev/null +++ b/lang/icon/patches/patch-az @@ -0,0 +1,13 @@ +$NetBSD: patch-az,v 1.6 2006/03/19 15:57:36 joerg Exp $ + +--- ipl/cfuncs/mklib.sh.orig 2006-03-19 15:16:00.000000000 +0000 ++++ ipl/cfuncs/mklib.sh +@@ -21,7 +21,7 @@ case "$SYS" in + ld -shared -o $LIBNAME "$@";; + OSF*) + ld -shared -expect_unresolved '*' -o $LIBNAME "$@" -lc;; +- Linux*|BSD/OS*|OpenBSD*|NetBSD*|GNU*) ++ Linux*|BSD/OS*|OpenBSD*|NetBSD*|GNU*|DragonFly*) + gcc -shared -o $LIBNAME -fPIC "$@";; + FreeBSD*) + ld -Bshareable -o $LIBNAME "$@" -lc;; diff --git a/lang/icon/patches/patch-ba b/lang/icon/patches/patch-ba new file mode 100644 index 00000000000..dc94ebe4fd8 --- /dev/null +++ b/lang/icon/patches/patch-ba @@ -0,0 +1,12 @@ +$NetBSD: patch-ba,v 1.5 2006/03/19 15:57:36 joerg Exp $ + +--- config/freebsd/Makedefs.orig 2006-03-19 15:21:42.000000000 +0000 ++++ config/freebsd/Makedefs +@@ -14,6 +14,6 @@ CFDYN = -fPIC + RLINK = -Wl,-E + RLIBS = -lm + TLIBS = -pthread +-XLIBS = -L/usr/X11R6/lib -lX11 ++XLIBS = -R${X11BASE}/lib -L${X11BASE}/lib -lX11 + XPMDEFS = -DZPIPE + GDIR = xpm |