This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libxml-libxml-perl.
commit 567512e1c6b09495c0d4e53b69387d3bf3be6b7e Author: gregor herrmann <gre...@debian.org> Date: Wed Aug 26 19:16:42 2015 +0200 Add patch to disable the runtime check for the libxml2 version. This test is not needed due to symbol versioning, and it causes warnings which are not only annoying but break the build of other packages. Closes: #783610 --- .../patches/disable_runtime-version_warning.patch | 34 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 35 insertions(+) diff --git a/debian/patches/disable_runtime-version_warning.patch b/debian/patches/disable_runtime-version_warning.patch new file mode 100644 index 0000000..5c9e1b5 --- /dev/null +++ b/debian/patches/disable_runtime-version_warning.patch @@ -0,0 +1,34 @@ +Description: disable the runtime libxml2 version check +Origin: vendor +Bug: https://rt.cpan.org/Public/Bug/Display.html?id=104156 +Bug-Debian: https://bugs.debian.org/783610 +Author: gregor herrmann <gre...@debian.org> +Last-Update: 2015-08-26 + +--- a/LibXML.pm ++++ b/LibXML.pm +@@ -220,13 +220,17 @@ + #-------------------------------------------------------------------------# + # test exact version (up to patch-level) # + #-------------------------------------------------------------------------# +-{ +- my ($runtime_version) = LIBXML_RUNTIME_VERSION() =~ /^(\d+)/; +- if ( $runtime_version < LIBXML_VERSION ) { +- warn "Warning: XML::LibXML compiled against libxml2 ".LIBXML_VERSION. +- ", but runtime libxml2 is older $runtime_version\n"; +- } +-} ++# ++# disabled in Debian; cf. https://bugs.debian.org/783610 and ++# https://rt.cpan.org/Public/Bug/Display.html?id=104156 ++# ++#{ ++# my ($runtime_version) = LIBXML_RUNTIME_VERSION() =~ /^(\d+)/; ++# if ( $runtime_version < LIBXML_VERSION ) { ++# warn "Warning: XML::LibXML compiled against libxml2 ".LIBXML_VERSION. ++# ", but runtime libxml2 is older $runtime_version\n"; ++# } ++#} + + + #-------------------------------------------------------------------------# diff --git a/debian/patches/series b/debian/patches/series index 6176cb8..e2bd90f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ fail-build-no-libxml2.patch Preserve-unset-options-after-a-_clone-call.patch +disable_runtime-version_warning.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-libxml-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits