Created attachment 202735 [details] patch to upgrade audacity to 2.3.1 Upgrade audio/audacity to 2.3.1
Why does Audacity need Fortran now?
Related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220822 in which linking with libatomic isn't working with clang so adding uses fortran gives the right ldflags like in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232546
Created attachment 202744 [details] audacity.diff So upstream added [1] for Linux without any explanation and now it needs libatomic everywhere clang is used. It builds fine without USES=fortran if I just revert that. Tested on 11.2/amd64, 12.0/i386. [1] https://github.com/audacity/audacity/commit/43402438f8fa457839e14153dcfcae1fa2ca8feb
I guess we should ask upstream why atomic is needed if we're using clang.
Please do.
Just emailed upstream and tested without the -latomic flag. Appears to compile and run fine so let's go with that until they release a new version. Unlikely they will revert the change in an already released version.
Committed. Thanks!
A commit references this bug: Author: tobik Date: Sun Mar 10 04:29:42 UTC 2019 New revision: 495224 URL: https://svnweb.freebsd.org/changeset/ports/495224 Log: audio/audacity: Update to 2.3.1 Changes: https://wiki.audacityteam.org/wiki/Release_Notes_2.3.1 PR: 236416 Submitted by: xxjack12xx@gmail.com (maintainer) Changes: head/audio/audacity/Makefile head/audio/audacity/distinfo head/audio/audacity/files/patch-configure.ac head/audio/audacity/files/patch-src_MemoryX.h head/audio/audacity/pkg-plist