mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- 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. PR: 22636 Submitted by: maintainer
This commit is contained in:
parent
87e6d3060f
commit
1ba9ed7c44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34916
2 changed files with 21 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= fnorb
|
PORTNAME= fnorb
|
||||||
PORTVERSION= 1.1
|
PORTVERSION= 1.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= devel python
|
CATEGORIES= devel python
|
||||||
MASTER_SITES= http://www.fnorb.org/download/ \
|
MASTER_SITES= http://www.fnorb.org/download/ \
|
||||||
ftp://ftp.dstc.edu.au/DSTC/fnorb/
|
ftp://ftp.dstc.edu.au/DSTC/fnorb/
|
||||||
|
|
20
devel/fnorb/files/patch-aa
Normal file
20
devel/fnorb/files/patch-aa
Normal file
|
@ -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)
|
Loading…
Add table
Reference in a new issue