Fix installing xmldiff on Debian Jessie (#1071)

pull/1072/head 2.7.25
Michele Locati 2025-02-24 17:38:32 +01:00 committed by GitHub
parent 13a00f93c5
commit 315e3632be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -4584,6 +4584,17 @@ installRemoteModule() {
addConfigureOption enable-reader yes
fi
;;
xmldiff)
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
if test -z "$installRemoteModule_version"; then
case "$DISTRO_VERSION" in
debian@8)
# The gcc version of Debian Jessie is too old => error: 'nullptr' was not declared in this scope
installRemoteModule_version=1.1.4
;;
esac
fi
;;
xmlrpc)
if test -z "$installRemoteModule_version"; then
installRemoteModule_version=beta