Merge pull request #273933 from wegank/xmlcopyeditor-fix
xmlcopyeditor: fix build with libxml2 2.12
This commit is contained in:
commit
86325fb6cd
1 changed files with 7 additions and 0 deletions
|
@ -25,6 +25,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [ ./xmlcopyeditor.patch ];
|
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 = [
|
nativeBuildInputs = [
|
||||||
intltool
|
intltool
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
Loading…
Reference in a new issue