summaryrefslogtreecommitdiff
path: root/packages/python/python-m2crypto-0.13.1/0.13p1.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-02-08 18:05:47 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-02-08 18:05:47 +0000
commit6579e8daf68dd520b702412208bfeae85af6fadc (patch)
treeef2cfbfe3353bd39e28145995db1287bd2518b8d /packages/python/python-m2crypto-0.13.1/0.13p1.patch
parentc6c085bf81bd4997bdb216e958d366ddf46438ad (diff)
make python 2.4 as default, move python-sip into python/, make sip4 as default
BKrev: 4208ff7b-sgl7QbT_1xhYPmdi-Oy4g
Diffstat (limited to 'packages/python/python-m2crypto-0.13.1/0.13p1.patch')
-rw-r--r--packages/python/python-m2crypto-0.13.1/0.13p1.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/packages/python/python-m2crypto-0.13.1/0.13p1.patch b/packages/python/python-m2crypto-0.13.1/0.13p1.patch
index e69de29bb2..d938f7969e 100644
--- a/packages/python/python-m2crypto-0.13.1/0.13p1.patch
+++ b/packages/python/python-m2crypto-0.13.1/0.13p1.patch
@@ -0,0 +1,42 @@
+--- M2Crypto/SSL/Connection.py.org Wed Mar 31 08:49:57 2004
++++ M2Crypto/SSL/Connection.py Wed Mar 31 08:50:45 2004
+@@ -143,11 +143,11 @@
+ """Set this connection's underlying socket to _mode_."""
+ self.socket.setblocking(mode)
+ if mode:
+- self.send = self.write = self._write_bio
+- self.recv = self.read = self._read_bio
++ self.send = self.write = Connection._write_bio
++ self.recv = self.read = Connection._read_bio
+ else:
+- self.send = self.write = self._write_nbio
+- self.recv = self.read = self._read_nbio
++ self.send = self.write = Connection._write_nbio
++ self.recv = self.read = Connection._read_nbio
+
+ def fileno(self):
+ return self.socket.fileno()
+--- M2Crypto/DSA.py.org Wed Mar 31 08:53:16 2004
++++ M2Crypto/DSA.py Wed Mar 31 08:53:35 2004
+@@ -35,7 +35,7 @@
+
+ def __getattr__(self, name):
+ if name in ['p', 'q', 'g', 'pub', 'priv']:
+- method = getattr(m2, 'm2.dsa_get_%s' % (name,))
++ method = getattr(m2, 'dsa_get_%s' % (name,))
+ assert m2.dsa_type_check(self.dsa), "'dsa' type error"
+ return method(self.dsa)
+ else:
+--- M2Crypto/_version.py.org Wed Mar 31 12:25:21 2004
++++ M2Crypto/_version.py Wed Mar 31 12:24:18 2004
+@@ -1,8 +1,8 @@
+ """M2Crypto Version Info"""
+
+-RCS_id='$Id$'
++RCS_id='$Id$'
+
+ import string
+-version_info = (0, 13)
++version_info = (0, 13, 1)
+ version = string.join(map(lambda x: "%s" % x, version_info), ".")
+