summaryrefslogtreecommitdiff
path: root/lang/python30/files/patch-Lib-test-test_socket.py
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-07-08 15:53:45 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-07-08 15:53:45 +0000
commit95340a84dc81dbf3fe8377e5a7d185b82ca5ea65 (patch)
tree0ddef3879cda667274ea8c93c7af429c924ee74b /lang/python30/files/patch-Lib-test-test_socket.py
parentupdate to 3.00: (diff)
- Update to 2.4a1, the first alpha release of Python 2.4.
- Provide USE_PYTHON_BUILD and USE_PYTHON_RUN to allow explicit dependencies. [1] - Provide PYDISTUTILS_CONFIGUREARGS and run ${PYSETUP} config on 'do-configure' targets. [2] Reviewed by: eik [1] Submitted by: Mike Brown <mike@skew.org>
Diffstat (limited to 'lang/python30/files/patch-Lib-test-test_socket.py')
-rw-r--r--lang/python30/files/patch-Lib-test-test_socket.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/python30/files/patch-Lib-test-test_socket.py b/lang/python30/files/patch-Lib-test-test_socket.py
new file mode 100644
index 000000000000..33b9fb389f54
--- /dev/null
+++ b/lang/python30/files/patch-Lib-test-test_socket.py
@@ -0,0 +1,11 @@
+--- Lib/test/test_socket.py.orig Fri Jul 9 00:27:03 2004
++++ Lib/test/test_socket.py Fri Jul 9 00:27:11 2004
+@@ -289,7 +289,7 @@
+ # Find one service that exists, then check all the related interfaces.
+ # I've ordered this by protocols that have both a tcp and udp
+ # protocol, at least for modern Linuxes.
+- for service in ('echo', 'daytime', 'domain'):
++ for service in ('daytime', 'domain'):
+ try:
+ port = socket.getservbyname(service, 'tcp')
+ break