Merge pull request #273933 from wegank/xmlcopyeditor-fix

xmlcopyeditor: fix build with libxml2 2.12
This commit is contained in:
Weijia Wang 2024-01-12 22:16:47 +01:00 committed by GitHub
commit 86325fb6cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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