Skip to content

Commit

Permalink
audio/aubio: unbreak build with python 3.11+
Browse files Browse the repository at this point in the history
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
  • Loading branch information
fluffykhv authored and BSDKaffee committed Jun 15, 2023
1 parent 0b75c52 commit 1ec162a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions audio/aubio/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 1ec162a

Please sign in to comment.