Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Nov 2000 11:24:58 +0200
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22636: Port fix: devel/fnorb (maintainer)
Message-ID:  <E13siWQ-000Dk3-00@fling.sanbi.ac.za>

next in thread | raw e-mail | index | archive | help

>Number:         22636
>Category:       ports
>Synopsis:       Port fix: devel/fnorb (maintainer)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 06 01:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 3.5-STABLE i386
>Organization:
Electric Genetics
>Environment:
>Description:
- Added patch to enable Fnorb to work with Python 2.0 (and which doesn't
  break Fnorb with Python 1.5.2)
- Submitted by: Mike Meyer (mwm@mired.org)
- Caveat: There may be further Python 2.0 incompatibilities in Fnorb.  The
  next release of Fnorb should be 2.0-compatible.
- File added: files/patch-aa
>How-To-Repeat:
>Fix:
diff -ruN fnorb.bak/Makefile fnorb/Makefile
--- fnorb.bak/Makefile	Mon Nov  6 11:20:47 2000
+++ fnorb/Makefile	Mon Nov  6 11:20:33 2000
@@ -7,7 +7,7 @@
 
 PORTNAME=	fnorb
 PORTVERSION=	1.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.fnorb.org/download/ \
 		ftp://ftp.dstc.edu.au/DSTC/fnorb/
diff -ruN fnorb.bak/files/patch-aa fnorb/files/patch-aa
--- fnorb.bak/files/patch-aa	Thu Jan  1 02:00:00 1970
+++ fnorb/files/patch-aa	Mon Nov  6 11:16:29 2000
@@ -0,0 +1,20 @@
+Allow the port to work with Python 2.0.  This should be fixed in the next
+release of Fnorb.  (Caveat:  There may be more broken calls to
+socket.connect.)
+
+Thanks to Mike Meyer <mwm@mired.org> for submitting this.
+
+-- Johann <johann@egenetics.com>
+
+
+--- ../orb/IIOPConnection.py.orig	Mon Apr  3 16:08:34 2000
++++ ../orb/IIOPConnection.py	Mon Nov  6 11:12:49 2000
+@@ -88,7 +88,7 @@
+ 	# Create a socket and connect to the remote object.
+ 	try:
+ 	    self.__socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+-	    self.__socket.connect(host, port)
++	    self.__socket.connect((host, port))
+ 
+ 	    # Set the socket by default to NON-blocking mode.
+ 	    self.__socket.setblocking(0)

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E13siWQ-000Dk3-00>