diff -uNr /usr/ports/lang/python27.orig/Makefile /usr/ports/lang/python27/Makefile --- /usr/ports/lang/python27.orig/Makefile 2014-08-08 13:54:00.000000000 +0200 +++ /usr/ports/lang/python27/Makefile 2014-08-08 13:54:48.000000000 +0200 @@ -2,7 +2,7 @@ PORTNAME= python27 PORTVERSION= 2.7.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= lang python ipv6 MASTER_SITES= PYTHON MASTER_SITE_SUBDIR= ftp/python/${PORTVERSION} diff -uNr /usr/ports/lang/python27.orig/files/patch-Modules___ssl.c /usr/ports/lang/python27/files/patch-Modules___ssl.c --- /usr/ports/lang/python27.orig/files/patch-Modules___ssl.c 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/lang/python27/files/patch-Modules___ssl.c 2014-08-07 12:00:57.000000000 +0200 @@ -0,0 +1,28 @@ +--- ./Modules/_ssl.c.orig 2014-06-30 04:05:42.000000000 +0200 ++++ ./Modules/_ssl.c 2014-08-07 11:58:48.000000000 +0200 +@@ -1604,20 +1604,11 @@ + static PyObject * + PySSL_RAND_egd(PyObject *self, PyObject *arg) + { +- int bytes; +- +- if (!PyString_Check(arg)) +- return PyErr_Format(PyExc_TypeError, +- "RAND_egd() expected string, found %s", +- Py_TYPE(arg)->tp_name); +- bytes = RAND_egd(PyString_AS_STRING(arg)); +- if (bytes == -1) { +- PyErr_SetString(PySSLErrorObject, +- "EGD connection failed or EGD did not return " +- "enough data to seed the PRNG"); +- return NULL; +- } +- return PyInt_FromLong(bytes); ++ ++ PyErr_SetString(PySSLErrorObject, ++ "EGD connection failed or EGD did not return " ++ "enough data to seed the PRNG"); ++ return NULL; + } + + PyDoc_STRVAR(PySSL_RAND_egd_doc,