diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2023-06-13 12:43:24 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2023-06-15 15:50:33 +0000 |
commit | 1ec162a92706e35bee060393f83a3c887f021259 (patch) | |
tree | e1a92fef0695f31988790d2f8388e27159e4cbd5 | |
parent | 0b75c52d91fb5e162b93c5e92a5a4808242e3b5f (diff) | |
download | ports-1ec162a92706e35bee060393f83a3c887f021259.tar.gz ports-1ec162a92706e35bee060393f83a3c887f021259.zip |
audio/aubio: unbreak build with python 3.11+
Python has set as default and deprecated the 'U' (open as Unicode) flag
for all file open routines since 3.3 release and removed it in 3.11+.
PR: 271980
-rw-r--r-- | audio/aubio/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/aubio/Makefile b/audio/aubio/Makefile index f9d04c6e1e23..e6d51bf55e9a 100644 --- a/audio/aubio/Makefile +++ b/audio/aubio/Makefile @@ -68,6 +68,8 @@ PORTDOCS= * post-patch: @${REINPLACE_CMD} -e \ '/pkgconfig/s|$${LIBDIR}|&data|' ${WRKSRC}/waflib/TaskGen.py + @${REINPLACE_CMD} -e \ + '/read/s|rU|r|' ${WRKSRC}/waflib/ConfigSet.py ${WRKSRC}/waflib/Context.py post-install: .for b in mfcc notes onset pitch quiet track |