libgda6: fix build

This commit is contained in:
Jan Tojnar 2022-02-27 14:14:38 +01:00
parent 2d221a2a56
commit 165df3b4e1

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, pkg-config
, intltool
, meson
@ -37,6 +38,20 @@ stdenv.mkDerivation rec {
sha256 = "0w564z7krgjk19r39mi5qn4kggpdg9ggbyn9pb4aavb61r14npwr";
};
patches = [
# Fix undefined behavior
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/libgda/-/commit/657b2f8497da907559a6769c5b1d2d7b5bd40688.patch";
sha256 = "Qx4S9KQsTAr4M0QJi0Xr5kKuHSp4NwZJHoRPYyxIyTk=";
})
# Fix building vapi
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/libgda/-/commit/57f618a3b2a3758ee3dcbf9bbdc566122dd8566d.patch";
sha256 = "pyfymUd61m1kHaGyMbUQMma+szB8mlqGWwcFBBQawf8=";
})
];
nativeBuildInputs = [
pkg-config
intltool