Unverified Commit 7a4dd1b2 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

mafft: Fix mafft build by reducing extern symbols - upstream patch (#503981)

parents a379c5a7 65e232ed
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitLab,
  fetchpatch,
  runCommand,
  mafft,
}:
@@ -17,6 +18,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-VNe00r12qEkLEbpZdJCe5xZ73JA3uAmuAeG+eSeRDI0=";
  };

  patches = [
    (fetchpatch {
      name = "reduce-extern-symbols-alpine-compat";
      url = "https://gitlab.com/sysimm/mafft/-/commit/aa3b7d54e0a05c5ed7d665c094c3d89f2b6a907f.patch";
      hash = "sha256-g89cFcnrLMlU/RLhS1kzCYPd5BWaH7wdz6tR+Ys3bVE=";
    })
  ];

  preBuild = ''
    cd ./core
    make clean