diff options
author | Eric Hameleers <alien@slackware.com> | 2021-08-20 08:48:03 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-08-20 08:48:03 +0000 |
commit | 6574c93976f36f6441af59f6841d02ff8484a28b (patch) | |
tree | e7ac051558fbfe78a28ba47040cc97aacfa6cc52 /audacity | |
parent | d1ec7fdd93b0fb133c51004658654cef36f81f71 (diff) | |
download | asb-6574c93976f36f6441af59f6841d02ff8484a28b.tar.gz asb-6574c93976f36f6441af59f6841d02ff8484a28b.tar.xz |
audacity: fix compilation with gcc11
Diffstat (limited to 'audacity')
-rwxr-xr-x | audacity/build/audacity.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audacity/build/audacity.SlackBuild b/audacity/build/audacity.SlackBuild index a0a32728..c0b61c30 100755 --- a/audacity/build/audacity.SlackBuild +++ b/audacity/build/audacity.SlackBuild @@ -245,6 +245,10 @@ sed -i src/CMakeLists.txt \ -e 's#${WXWIN}/lib#$ENV{MYBUILD}/lib#' \ -e 's#-t ${_LIBDIR}#-t $ENV{MYBUILD}/bin/Release/${_LIBDIR}#' +# Fix building with GCC11: +cat $SRCDIR/patches/audacity-3.0.2_gcc11.patch | patch -p1 --verbose \ + 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log + chown -R root:root . chmod -R u+w,go+r-w,a+rX-st . |