Merge pull request #328597 from reckenrode/libgsf-fixes

libgsf: fix build with libxml2 2.13
This commit is contained in:
Randy Eckenrode
2024-07-20 09:30:07 -04:00
committed by GitHub
@@ -2,6 +2,7 @@
, lib
, stdenv
, autoreconfHook
, fetchpatch2
, gtk-doc
, pkg-config
, intltool
@@ -31,6 +32,14 @@ stdenv.mkDerivation rec {
hash = "sha256-uSi2/pZiST07YutU8SHNoY2LifEQhohQeyaH9spyG2s=";
};
patches = [
# Fixes building when nanohttp is not enabled in libxml2, which is the default since libxml2 2.13.
(fetchpatch2 {
url = "https://gitlab.gnome.org/GNOME/libgsf/-/commit/5d4bb55095d3d6ef793c1908a88504183e28644c.diff";
hash = "sha256-2TF1KDUxJtSMTDze2/dOJQRkW8S1GA9OyFpYzYeKpjQ=";
})
];
postPatch = ''
# Fix cross-compilation
substituteInPlace configure.ac \