zabbix50: 5.0.41 -> 5.0.46, fix the build with GCC14 (#391050)

This commit is contained in:
Vladimír Čunát
2025-03-23 18:45:46 +01:00
2 changed files with 7 additions and 3 deletions

View File

@@ -91,6 +91,10 @@ import ./versions.nix (
++ optional postgresqlSupport "--with-postgresql"
++ optional ipmiSupport "--with-openipmi=${openipmi.dev}";
env.NIX_CFLAGS_COMPILE = lib.optionalString (
lib.versions.major version <= "5"
) "-Wno-error=incompatible-pointer-types";
prePatch = ''
find database -name data.sql -exec sed -i 's|/usr/bin/||g' {} +
'';

View File

@@ -16,8 +16,8 @@ generic: {
};
v50 = generic {
version = "5.0.41";
hash = "sha256-pPvw0lPoK1IpsXc5c8Qu9zFhx2oHJz2bwiX80vrYa58=";
vendorHash = "sha256-qLDoNnEFiSrWXbLtYlmQaqY8Rv6JaG8WbMYBlry5Evc=";
version = "5.0.46";
hash = "sha256-p6OZALpOQG6v70Y20cC2bdlzTINz3JBd9qGWZACfcl4=";
vendorHash = "sha256-NgSi6usIbss3WEZCYht46WjxcrdOO3qv8KwwUZwtkk0=";
};
}