diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-11-16 00:18:29 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2002-11-16 00:18:29 +0000 |
commit | 12a846028174589e7e6df50a75d6fa21d9acefa2 (patch) | |
tree | c8f15bae9b5933800292361664a8832672c3cd8f | |
parent | 27e73618d65915dc52dbbfce35300dd24344678e (diff) | |
download | ports-12a846028174589e7e6df50a75d6fa21d9acefa2.tar.gz ports-12a846028174589e7e6df50a75d6fa21d9acefa2.zip |
Notes
-rw-r--r-- | devel/py_otp_interface/Makefile | 2 | ||||
-rw-r--r-- | devel/py_otp_interface/files/patch-erl__term.py | 18 |
2 files changed, 17 insertions, 3 deletions
diff --git a/devel/py_otp_interface/Makefile b/devel/py_otp_interface/Makefile index b0097d809739..aab260e5adcf 100644 --- a/devel/py_otp_interface/Makefile +++ b/devel/py_otp_interface/Makefile @@ -7,7 +7,7 @@ PORTNAME= py_otp_interface PORTVERSION= 0.91 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel python MASTER_SITES= http://www.erlang.org/contrib/ DISTNAME= py_interface-${PORTVERSION} diff --git a/devel/py_otp_interface/files/patch-erl__term.py b/devel/py_otp_interface/files/patch-erl__term.py index 15809b6b6926..7d918ca2e339 100644 --- a/devel/py_otp_interface/files/patch-erl__term.py +++ b/devel/py_otp_interface/files/patch-erl__term.py @@ -1,8 +1,8 @@ $FreeBSD$ ---- erl_term.py.orig Fri Nov 15 18:53:36 2002 -+++ erl_term.py Fri Nov 15 18:54:03 2002 +--- erl_term.py.orig Wed May 29 00:09:25 2002 ++++ erl_term.py Sat Nov 16 00:53:45 2002 @@ -282,7 +282,7 @@ if dataLen < 5: return (None, data) @@ -12,3 +12,17 @@ $FreeBSD$ elif data0 == MAGIC_FLOAT: if dataLen < 32: +@@ -552,11 +552,11 @@ + + def _PackString(term): + if len(term) == 0: +- return PackList([]) ++ return _PackList([]) + elif len(term) <= 65535: + return _PackInt1(MAGIC_STRING) + _PackInt2(len(term)) + term + else: +- return PackList(map(lambda c: ord(c), term)) ++ return _PackList(map(lambda c: ord(c), term)) + + def _PackList(term): + if len(term) == 0: |