There's a merged pull request on the void-packages repository maxima: fix build with -o ~sbcl https://github.com/void-linux/void-packages/pull/46709 Description: This is the default for aarch64. #### Testing the changes - I tested the changes in this PR: **briefly** Rework the patch `use-shared-library.patch` so the ecl binaries work as built, no need to use `patchelf` anymore. This way there should be no problem if maxima is needed to build the documentation. OTOH, the documentation is currently shipped in the tarball, so we touch the correct files so that it won't be rebuilt. This won't change the binary package, no need to revbump. Cc: @dkwo Fixes: #46293