Merge pull request #122451 from helsinki-systems/fix/libsoup

libsoup: fix building cpp applications after recent glib update
This commit is contained in:
ajs124 2021-05-12 17:30:54 +02:00 committed by GitHub
commit ba7dccbda7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, glib, libxml2, meson, ninja, pkg-config, gnome, libsysprof-capture
{ stdenv, lib, fetchurl, fetchpatch, glib, libxml2, meson, ninja, pkg-config, gnome, libsysprof-capture
, gnomeSupport ? true, sqlite, glib-networking, gobject-introspection, vala
, libpsl, python3, brotli
}:
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "11skbyw2pw32178q3h8pi7xqa41b2x4k6q4k9f75zxmh8s23y30p";
};
patches = [
(fetchpatch {
# https://gitlab.gnome.org/GNOME/libsoup/-/issues/222
url = "https://gitlab.gnome.org/GNOME/libsoup/commit/b5e4f15a09d197b6a9b4b2d78b33779f27d828af.patch";
sha256 = "1hqk8lqzc200hi0nwbwq9qm6f03z296cnd79d4ql30683s80xqws";
})
];
postPatch = ''
patchShebangs libsoup/
'';