git: d1a60638db6c - main - audio/py-mpd: Fix build with setuptools 58.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:49:34 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d1a60638db6ce5f6283e998a517a652af6876d1a
commit d1a60638db6ce5f6283e998a517a652af6876d1a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-25 13:31:58 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-25 13:38:04 +0000
audio/py-mpd: Fix build with setuptools 58.0.0+
With hat: python
---
audio/py-mpd/files/patch-2to3 | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/audio/py-mpd/files/patch-2to3 b/audio/py-mpd/files/patch-2to3
new file mode 100644
index 000000000000..6c8cb06ad090
--- /dev/null
+++ b/audio/py-mpd/files/patch-2to3
@@ -0,0 +1,11 @@
+--- mpd.py.orig 2010-12-14 00:46:05 UTC
++++ mpd.py
+@@ -396,7 +396,7 @@ class MPDClient(object):
+ sock = socket.socket(af, socktype, proto)
+ sock.connect(sa)
+ return sock
+- except socket.error, err:
++ except socket.error as err:
+ if sock is not None:
+ sock.close()
+ if err is not None: