62dc7b850d
- The Perl Readonly module changes semantics with version 1.04 such that Readonly variables are read only across contexts. Therefore using a read only variable as an XML namespace context name triggers an error when the context gets unregistered and an attempt is made to reset the variable. ~ add patch biber-noreadonly.diff to address the issue OBS-URL: https://build.opensuse.org/request/show/220523 OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive?expand=0&rev=167
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
# Perl Readonly semantics changed with version 1.04. Readonly variable are
|
|
# readonly across contexts and thus unregistration of namespaces fails if
|
|
# the namespace variable is readoonly as the unregistration attempts to
|
|
# modify the value
|
|
diff -ru biblatex-biber-1.7.org/lib/Biber/Input/file/biblatexml.pm biblatex-biber-1.7/lib/Biber/Input/file/biblatexml.pm
|
|
--- biblatex-biber-1.7.org/lib/Biber/Input/file/biblatexml.pm 2014-01-31 14:22:27.906441935 -0500
|
|
+++ biblatex-biber-1.7/lib/Biber/Input/file/biblatexml.pm 2014-01-31 14:25:36.144787433 -0500
|
|
@@ -23,7 +23,6 @@
|
|
use List::AllUtils qw( uniq );
|
|
use XML::LibXML;
|
|
use XML::LibXML::Simple;
|
|
-use Readonly;
|
|
use Data::Dump qw(dump);
|
|
use Unicode::Normalize;
|
|
use Unicode::GCString;
|
|
@@ -32,8 +31,8 @@
|
|
my $logger = Log::Log4perl::get_logger('main');
|
|
my $orig_key_order = {};
|
|
|
|
-Readonly::Scalar our $BIBLATEXML_NAMESPACE_URI => 'http://biblatex-biber.sourceforge.net/biblatexml';
|
|
-Readonly::Scalar our $NS => 'bltx';
|
|
+our $BIBLATEXML_NAMESPACE_URI = 'http://biblatex-biber.sourceforge.net/biblatexml';
|
|
+our $NS = 'bltx';
|
|
|
|
# Determine handlers from data model
|
|
my $dm = Biber::Config->get_dm;
|