Unverified Commit 277bfd30 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

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

parents 42fdc235 0fe9b390
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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' {} +
    '';
+3 −3
Original line number Diff line number Diff line
@@ -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=";
  };
}