Skip to content

Commit 4bff863

Browse files
committed
mni_autoreg: unstable-2022-05-20 -> 0.99.70-unstable-2024-10-04, unbreak on GCC 14
1 parent f263f12 commit 4bff863

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

pkgs/by-name/mn/mni_autoreg/package.nix

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
stdenv.mkDerivation {
1212
pname = "mni_autoreg";
13-
version = "unstable-2022-05-20";
13+
version = "0.99.70-unstable-2024-10-04";
1414

1515
src = fetchFromGitHub {
1616
owner = "BIC-MNI";
1717
repo = "mni_autoreg";
18-
rev = "be7bd25bf7776974e0f2c1d90b6e7f8ccc0c8874";
19-
sha256 = "sGMZbCrdV6yAOgGiqvBFOUr6pGlTCqwy8yNrPxMoKco=";
18+
rev = "85265398d90dc1bfef886e2cf876a1a2caae86b4";
19+
hash = "sha256-tKCDrIHlkArF5Xv6NlSkvmNMIMDsxEf5O3ATzm6DabQ=";
2020
};
2121

2222
nativeBuildInputs = [
@@ -30,6 +30,11 @@ stdenv.mkDerivation {
3030
MNI-Perllib
3131
];
3232

33+
env.NIX_CFLAGS_COMPILE = toString [
34+
"-Wno-error=implicit-function-declaration"
35+
"-Wno-error=incompatible-pointer-types"
36+
];
37+
3338
cmakeFlags = [ "-DLIBMINC_DIR=${libminc}/lib/cmake" ];
3439
# testing broken: './minc_wrapper: Permission denied' from Testing/ellipse0.mnc
3540

@@ -40,11 +45,11 @@ stdenv.mkDerivation {
4045
done
4146
'';
4247

43-
meta = with lib; {
48+
meta = {
4449
homepage = "https://github.com/BIC-MNI/mni_autoreg";
4550
description = "Tools for automated registration using the MINC image format";
46-
maintainers = with maintainers; [ bcdarwin ];
47-
platforms = platforms.unix;
48-
license = licenses.free;
51+
maintainers = with lib.maintainers; [ bcdarwin ];
52+
platforms = lib.platforms.unix;
53+
license = lib.licenses.free;
4954
};
5055
}

0 commit comments

Comments
 (0)