Unverified Commit cc4495a8 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

mariadb-connector-c: fix build against gcc15

parent a7712eb1
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch,
  cmake,
  curl,
  openssl,
@@ -28,6 +29,14 @@ stdenv.mkDerivation {
    inherit hash;
  };

  patches = [
    # fix compilation against gcc15
    (fetchpatch {
      url = "https://github.com/mariadb-corporation/mariadb-connector-c/commit/e8448137f3365568090d5c0d4051039ddc1cdb6f.patch";
      hash = "sha256-aDbaaJA8DxGG5RrOa+CHhk4wuzlBy5tWyS+f/zVYU0c=";
    })
  ];

  outputs = [
    "out"
    "dev"