mariadb-connector-c: fix build against gcc15
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user