mariadb-connector-c: fix build against gcc15

This commit is contained in:
Sandro Jäckel
2025-09-13 16:17:39 +02:00
parent a7712eb1f3
commit cc4495a889
@@ -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"