mafft: Apply upstream extern patch to fix build

This commit is contained in:
Renato Alves
2026-03-28 11:39:29 +01:00
parent fcf3b4f418
commit 65e232ed2d
+9
View File
@@ -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