perlPackages.DBDPg: fix build with gcc15 (#470467)

This commit is contained in:
Aleksana
2025-12-17 15:29:37 +00:00
committed by GitHub
+10
View File
@@ -9846,6 +9846,16 @@ with self;
hash = "sha256-jZANTA50nzchh1KmZh+w01V6sfzMjeo4TLWHw4LeIZs=";
};
patches = [
# Fix build with gcc15
# https://github.com/bucardo/dbdpg/pull/148
(fetchpatch {
name = "perl-dbdpg-fix-c23-compliance.patch";
url = "https://github.com/bucardo/dbdpg/commit/8da04f9169d017469e3a12f08322e6bd88e8f239.patch";
hash = "sha256-MpVpaZoRgN1ABk6F6hFZvo9IkQJX2frHDygOTa0wics=";
})
];
buildInputs = [ pkgs.postgresql ];
propagatedBuildInputs = [ DBI ];