ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / python / gevent / patches / 06-test-port-8001.patch
blob9d796c2eac66755cd4bc2f3ca350a1a7f2848a02
1 Port 8001 is missing from /etc/services so getaddrinfo() would fail.
2 We need to switch to some listed port.
4 --- gevent-24.2.1/src/gevent/tests/test__issue230.py.orig
5 +++ gevent-24.2.1/src/gevent/tests/test__issue230.py
6 @@ -11,13 +11,13 @@
9 def block():
10 - socket.getaddrinfo('localhost', 8001)
11 + socket.getaddrinfo('localhost', 8080)
15 class Test(greentest.TestCase):
16 def test(self):
17 - socket.getaddrinfo('localhost', 8001)
18 + socket.getaddrinfo('localhost', 8080)
20 p = multiprocessing.Process(target=block)
21 p.start()