pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/ORBit2 update to 2.14.12



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9bb04ad22fb4
branches:  trunk
changeset: 538601:9bb04ad22fb4
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Feb 13 19:36:48 2008 +0000

description:
update to 2.14.12
changes:
-Fix off by one in all method name lengths. Fixes interoperability
 with other ORBs
-Fix the build with glib 2.15

pkgsrc fix: don't touch _res (resolver state) on NetBSD, it is
not thread safe

diffstat:

 net/ORBit2/Makefile         |   7 +++++--
 net/ORBit2/distinfo         |  10 +++++-----
 net/ORBit2/patches/patch-ad |  17 -----------------
 net/ORBit2/patches/patch-ae |  25 +++++++++++++++++++++++++
 4 files changed, 35 insertions(+), 24 deletions(-)

diffs (91 lines):

diff -r 10c6f124aad7 -r 9bb04ad22fb4 net/ORBit2/Makefile
--- a/net/ORBit2/Makefile       Wed Feb 13 19:33:26 2008 +0000
+++ b/net/ORBit2/Makefile       Wed Feb 13 19:36:48 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.60 2007/10/31 19:48:32 drochner Exp $
+# $NetBSD: Makefile,v 1.61 2008/02/13 19:36:48 drochner Exp $
 #
 
-DISTNAME=              ORBit2-2.14.10
+DISTNAME=              ORBit2-2.14.12
 CATEGORIES=            net gnome
 MASTER_SITES=          ${MASTER_SITE_GNOME:=sources/ORBit2/2.14/}
 EXTRACT_SUFX=          .tar.bz2
@@ -49,6 +49,9 @@
 
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.8.0
 
+# needs interaction
+#TEST_TARGRT=  check
+
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../net/libIDL/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 10c6f124aad7 -r 9bb04ad22fb4 net/ORBit2/distinfo
--- a/net/ORBit2/distinfo       Wed Feb 13 19:33:26 2008 +0000
+++ b/net/ORBit2/distinfo       Wed Feb 13 19:36:48 2008 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.39 2007/11/26 14:00:41 tron Exp $
+$NetBSD: distinfo,v 1.40 2008/02/13 19:36:48 drochner Exp $
 
-SHA1 (ORBit2-2.14.10.tar.bz2) = f5d7bbe36562b5daad48b92cc5b17afa12d211ee
-RMD160 (ORBit2-2.14.10.tar.bz2) = f6df0bf38218ba0d02e2e332d570cf3e1831ec53
-Size (ORBit2-2.14.10.tar.bz2) = 734630 bytes
+SHA1 (ORBit2-2.14.12.tar.bz2) = 0ae64c5e458c5cadab5af0e22d69ffea25f9f3fb
+RMD160 (ORBit2-2.14.12.tar.bz2) = ab535a00dacef3f4a80d685406c0dd115b424207
+Size (ORBit2-2.14.12.tar.bz2) = 746309 bytes
 SHA1 (patch-aa) = 6e87e28e3634908f35c219f81a47d0353cfaf551
 SHA1 (patch-ab) = 1661eaaa0119895a860e0c667990ea71b80e8ace
 SHA1 (patch-ac) = 075a11883b9d0a3ec7d5d93b37007ba64e1baf41
-SHA1 (patch-ad) = a6599d163cf577230b310845999cee2d343d7613
+SHA1 (patch-ae) = d92c0c8985be666e6ec60b46ff8007447ffc4275
diff -r 10c6f124aad7 -r 9bb04ad22fb4 net/ORBit2/patches/patch-ad
--- a/net/ORBit2/patches/patch-ad       Wed Feb 13 19:33:26 2008 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-ad,v 1.3 2007/11/26 14:00:41 tron Exp $
-
---- include/orbit/GIOP/giop-endian.h.orig      2007-09-10 13:11:47.000000000 +0100
-+++ include/orbit/GIOP/giop-endian.h   2007-11-26 13:48:57.000000000 +0000
-@@ -8,9 +8,9 @@
- #ifdef ORBIT2_INTERNAL_API
- 
- /* This is also defined in IIOP-types.c */
--void giop_byteswap(guchar *outdata,
--                 const guchar *data,
--                 gulong datalen);
-+G_INLINE_FUNC void giop_byteswap(guchar *outdata,
-+                               const guchar *data,
-+                               gulong datalen);
- 
- #if defined(G_CAN_INLINE) && !defined(GIOP_DO_NOT_INLINE_IIOP_BYTESWAP)
- G_INLINE_FUNC void giop_byteswap(guchar *outdata,
diff -r 10c6f124aad7 -r 9bb04ad22fb4 net/ORBit2/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ORBit2/patches/patch-ae       Wed Feb 13 19:36:48 2008 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-ae,v 1.1 2008/02/13 19:36:48 drochner Exp $
+
+--- linc2/src/linc-protocols.c.orig    2008-01-30 12:08:40.000000000 +0100
++++ linc2/src/linc-protocols.c
+@@ -582,14 +582,20 @@ link_protocol_get_sockaddr_ipv4 (const L
+       if ((saddr->sin_addr.s_addr = inet_addr (hostname)) == INADDR_NONE) {
+               int i;
+ 
++#ifndef __NetBSD__ /* don't touch global state */
+               LINK_RESOLV_UNSET_IPV6;
+ #ifdef HAVE_RESOLV_H
+               if (!(_res.options & RES_INIT))
+                       res_init();
+ #endif
++#endif /* NetBSD */
+               
+                 d_printf("%s:%s:%d:gethostbyname(%s)\n", __FILE__, __FUNCTION__, __LINE__, hostname);
++#ifdef __NetBSD__
++              host = gethostbyname2 (hostname, AF_INET);
++#else
+               host = gethostbyname (hostname);
++#endif
+               if (!host) {
+                 g_free (saddr);
+                 return NULL;



Home | Main Index | Thread Index | Old Index