about summary refs log tree commit diff
path: root/pkgs/applications/science/math/singular/default.nix
diff options
context:
space:
mode:
authorMauricio Collares <mauricio@collares.org>2021-04-21 20:05:48 -0300
committerMasanori Ogino <167209+omasanori@users.noreply.github.com>2021-04-22 09:01:30 +0900
commitcd7cf5942b4e366f9058affeb90178dcc4dde858 (patch)
tree258fec0c188bb9e51044753029223a93c0ef0385 /pkgs/applications/science/math/singular/default.nix
parentaebef1703fafa705282df3ece34121f18b9a1b1f (diff)
singular: use older autoconf macro to unbreak aarch64
Diffstat (limited to 'pkgs/applications/science/math/singular/default.nix')
-rw-r--r--pkgs/applications/science/math/singular/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/singular/default.nix b/pkgs/applications/science/math/singular/default.nix
index 172004b9e094f..9a1d631692121 100644
--- a/pkgs/applications/science/math/singular/default.nix
+++ b/pkgs/applications/science/math/singular/default.nix
@@ -51,6 +51,12 @@ stdenv.mkDerivation rec {
   patches = [
     # add aarch64 support to cpu-check.m4. copied from redhat.
     ./redhat-aarch64.patch
+
+    # the newest version of ax-prog-cc-for-build.m4 seems to trigger
+    # linker errors. see
+    # https://github.com/alsa-project/alsa-firmware/issues/3 for a
+    # related issue.
+    ./use-older-ax-prog-cc-for-build.patch
   ] ++ lib.optionals enableDocs [
     # singular supports building without 4ti2, bertini, normaliz or
     # topcom just fine, but the docbuilding does not skip manual pages