mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
libgsf: fix build with libxml2 2.13
This commit is contained in:
parent
637b531dcf
commit
3c99873695
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user