~ubuntu-branches/ubuntu/wily/libxml-libxml-perl/wily

« back to all changes in this revision

Viewing changes to LibXML.pm

  • Committer: Package Import Robot
  • Author(s): gregor herrmann
  • Date: 2015-08-26 19:21:06 UTC
  • mfrom: (34.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20150826192106-gnvbq7cl0xehibtz
Tags: 2.0116+dfsg-5
* debian/rules: use 'wildcard' instead of 'shell echo'.
* 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)
* Update years of packaging copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
#-------------------------------------------------------------------------#
221
221
# test exact version (up to patch-level)                                  #
222
222
#-------------------------------------------------------------------------#
223
 
{
224
 
  my ($runtime_version) = LIBXML_RUNTIME_VERSION() =~ /^(\d+)/;
225
 
  if ( $runtime_version < LIBXML_VERSION ) {
226
 
    warn "Warning: XML::LibXML compiled against libxml2 ".LIBXML_VERSION.
227
 
      ", but runtime libxml2 is older $runtime_version\n";
228
 
  }
229
 
}
 
223
#
 
224
# disabled in Debian; cf. https://bugs.debian.org/783610 and
 
225
# https://rt.cpan.org/Public/Bug/Display.html?id=104156
 
226
#
 
227
#{
 
228
#  my ($runtime_version) = LIBXML_RUNTIME_VERSION() =~ /^(\d+)/;
 
229
#  if ( $runtime_version < LIBXML_VERSION ) {
 
230
#    warn "Warning: XML::LibXML compiled against libxml2 ".LIBXML_VERSION.
 
231
#      ", but runtime libxml2 is older $runtime_version\n";
 
232
#  }
 
233
#}
230
234
 
231
235
 
232
236
#-------------------------------------------------------------------------#