FreeBSD Bugzilla – Attachment 242761 Details for
Bug 271980
audio/aubio: unbreak build with python 3.11+ (+)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[PATCH] audio/aubio: unbreak build with python 3.11+ (+)
0001-audio-aubio-unbreak-build-with-python-3.11.patch (text/plain), 1.30 KB, created by
Dima Panov
on 2023-06-13 13:02:11 UTC
(
hide
)
Description:
[PATCH] audio/aubio: unbreak build with python 3.11+ (+)
Filename:
MIME Type:
Creator:
Dima Panov
Created:
2023-06-13 13:02:11 UTC
Size:
1.30 KB
patch
obsolete
>From a776970f3eb541830168f94908831c24198bdee1 Mon Sep 17 00:00:00 2001 >From: Dima Panov <fluffy@FreeBSD.org> >Date: Tue, 13 Jun 2023 15:43:24 +0300 >Subject: [PATCH] audio/aubio: unbreak build with python 3.11+ (+) > >Python have set default and deprecated flag 'U' (open as Unicode) >for all file open routines since 3.3 release and removed it in 3.11+ > >Move post-patch rules out of !SLAVE_PORT section to common part because >audio/py-aulib also needs these fixes > >Reported by: poudriere fallout >--- > audio/aubio/Makefile | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > >diff --git a/audio/aubio/Makefile b/audio/aubio/Makefile >index f9d04c6e1e23..0b9059ab831c 100644 >--- a/audio/aubio/Makefile >+++ b/audio/aubio/Makefile >@@ -65,10 +65,6 @@ TEST_MAKE_ARGS_OFF= --disable-tests > > PORTDOCS= * > >-post-patch: >- @${REINPLACE_CMD} -e \ >- '/pkgconfig/s|$${LIBDIR}|&data|' ${WRKSRC}/waflib/TaskGen.py >- > post-install: > .for b in mfcc notes onset pitch quiet track > @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/aubio${b} >@@ -77,4 +73,10 @@ post-install: > > .endif # !defined(SLAVEPORT) > >+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 >+ > .include <bsd.port.mk> >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 271980
: 242761