pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/icon DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01145755adfe
branches:  trunk
changeset: 509929:01145755adfe
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Mar 19 15:57:36 2006 +0000

description:
DragonFly support.

diffstat:

 lang/icon/Makefile         |   5 ++++-
 lang/icon/distinfo         |   5 ++++-
 lang/icon/patches/patch-ay |  14 ++++++++++++++
 lang/icon/patches/patch-az |  13 +++++++++++++
 lang/icon/patches/patch-ba |  12 ++++++++++++
 5 files changed, 47 insertions(+), 2 deletions(-)

diffs (86 lines):

diff -r c2a5431ceca4 -r 01145755adfe lang/icon/Makefile
--- a/lang/icon/Makefile        Sun Mar 19 15:54:59 2006 +0000
+++ b/lang/icon/Makefile        Sun Mar 19 15:57:36 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2006/03/04 21:29:54 jlam Exp $
+# $NetBSD: Makefile,v 1.39 2006/03/19 15:57:36 joerg Exp $
 
 DISTNAME=              icon.v942src
 PKGNAME=               icon-9.4.2
@@ -29,6 +29,9 @@
 .  include "../../mk/pthread.buildlink3.mk"
 .  endif
 
+.elif ${OPSYS} == "DragonFly"
+NAME=  freebsd
+
 .elif ${OPSYS} == "SunOS"
 
 .  if !empty(CC_VERSION:M*gcc*)
diff -r c2a5431ceca4 -r 01145755adfe lang/icon/distinfo
--- a/lang/icon/distinfo        Sun Mar 19 15:54:59 2006 +0000
+++ b/lang/icon/distinfo        Sun Mar 19 15:57:36 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2005/02/24 09:03:08 agc Exp $
+$NetBSD: distinfo,v 1.14 2006/03/19 15:57:36 joerg Exp $
 
 SHA1 (icon.v942src.tgz) = 9536e9346188deb2dc5853e03b5f7a85991314b1
 RMD160 (icon.v942src.tgz) = 7e0ec62b714c433acb23a31bad62028424f72ead
@@ -26,3 +26,6 @@
 SHA1 (patch-av) = c7eda8b5e28a03b13ec6f037c168fab33c1bb214
 SHA1 (patch-aw) = 32fbb57aff56ab9ddffb0ab01872dbc79d7ce654
 SHA1 (patch-ax) = 2da62632e50bf9f60b0784598e74b8a15a245d1e
+SHA1 (patch-ay) = 34186d788599e3e62fd1f27e931feb240c5aab2d
+SHA1 (patch-az) = 49785eb95d1ee006a6788e92031e0782e081ee71
+SHA1 (patch-ba) = f077eaee178fba82da8a35ab8b6a046dc4df4809
diff -r c2a5431ceca4 -r 01145755adfe lang/icon/patches/patch-ay
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/icon/patches/patch-ay        Sun Mar 19 15:57:36 2006 +0000
@@ -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 -r c2a5431ceca4 -r 01145755adfe lang/icon/patches/patch-az
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/icon/patches/patch-az        Sun Mar 19 15:57:36 2006 +0000
@@ -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 -r c2a5431ceca4 -r 01145755adfe lang/icon/patches/patch-ba
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/icon/patches/patch-ba        Sun Mar 19 15:57:36 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index