From owner-freebsd-ports Mon Nov 6 1:30: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 79C4237B4E5 for ; Mon, 6 Nov 2000 01:30:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id BAA48527; Mon, 6 Nov 2000 01:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from fling.sanbi.ac.za (fling.sanbi.ac.za [196.38.142.119]) by hub.freebsd.org (Postfix) with ESMTP id C9F8437B4CF for ; Mon, 6 Nov 2000 01:25:15 -0800 (PST) Received: from johann by fling.sanbi.ac.za with local (Exim 3.13 #4) id 13siWQ-000Dk3-00 for FreeBSD-gnats-submit@freebsd.org; Mon, 06 Nov 2000 11:24:58 +0200 Message-Id: Date: Mon, 06 Nov 2000 11:24:58 +0200 From: johann@egenetics.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/22636: Port fix: devel/fnorb (maintainer) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 for submitting this. + +-- Johann + + +--- ../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