diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-01-12 22:16:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-12 22:16:47 +0100 |
commit | 86325fb6cd27385062498fd7f18e1617e29044e5 (patch) | |
tree | fe9bc0963b7db800fce3a6be7ce6bbf158f4771c /pkgs/applications/editors | |
parent | 164ccfdcd7012f1bfd2e1642f44a39d14f8aad3f (diff) | |
parent | 7bd712b1de14a699651f1d7f8a953ef5627ca67d (diff) |
Merge pull request #273933 from wegank/xmlcopyeditor-fix
xmlcopyeditor: fix build with libxml2 2.12
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/xmlcopyeditor/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/applications/editors/xmlcopyeditor/default.nix b/pkgs/applications/editors/xmlcopyeditor/default.nix index 7d75bdce82eff..857b61521b552 100644 --- a/pkgs/applications/editors/xmlcopyeditor/default.nix +++ b/pkgs/applications/editors/xmlcopyeditor/default.nix @@ -25,6 +25,13 @@ stdenv.mkDerivation rec { patches = [ ./xmlcopyeditor.patch ]; + # error: cannot initialize a variable of type 'xmlErrorPtr' (aka '_xmlError *') + # with an rvalue of type 'const xmlError *' (aka 'const _xmlError *') + postPatch = '' + substituteInPlace src/wraplibxml.cpp \ + --replace "xmlErrorPtr err" "const xmlError *err" + ''; + nativeBuildInputs = [ intltool pkg-config |