Hello community,
here is the log from the commit of package perl-autovivification for
openSUSE:Factory checked in at 2015-07-21 13:23:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-autovivification (Old)
and /work/SRC/openSUSE:Factory/.perl-autovivification.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-autovivification"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-autovivification/perl-autovivification.changes
2015-05-16 20:07:03.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-autovivification.new/perl-autovivification.changes
2015-07-21 13:23:43.000000000 +0200
@@ -1,0 +2,9 @@
+Thu Jul 2 09:34:11 UTC 2015 - [email protected]
+
+- updated to 0.16
+ see /usr/share/doc/packages/perl-autovivification/Changes
+
+ 0.16 2015-07-01 14:30 UTC
+ + Fix : Broken linkage on Windows.
+
+-------------------------------------------------------------------
Old:
----
autovivification-0.15.tar.gz
New:
----
autovivification-0.16.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-autovivification.spec ++++++
--- /var/tmp/diff_new_pack.lOMjei/_old 2015-07-21 13:23:43.000000000 +0200
+++ /var/tmp/diff_new_pack.lOMjei/_new 2015-07-21 13:23:43.000000000 +0200
@@ -17,7 +17,7 @@
Name: perl-autovivification
-Version: 0.15
+Version: 0.16
Release: 0
%define cpan_name autovivification
Summary: Lexically disable autovivification
++++++ autovivification-0.15.tar.gz -> autovivification-0.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.15/Changes
new/autovivification-0.16/Changes
--- old/autovivification-0.15/Changes 2015-05-14 22:07:07.000000000 +0200
+++ new/autovivification-0.16/Changes 2015-07-01 15:45:28.000000000 +0200
@@ -1,5 +1,8 @@
Revision history for autovivification
+0.16 2015-07-01 14:30 UTC
+ + Fix : Broken linkage on Windows.
+
0.15 2015-05-14 20:35 UTC
+ Chg : The new environment variable to enable thread tests on older
perls is PERL_FORCE_TEST_THREADS. Note that this variable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.15/META.json
new/autovivification-0.16/META.json
--- old/autovivification-0.15/META.json 2015-05-14 22:09:05.000000000 +0200
+++ new/autovivification-0.16/META.json 2015-07-01 15:47:45.000000000 +0200
@@ -4,7 +4,7 @@
"Vincent Pit <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter
version 2.150001",
+ "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter
version 2.150005",
"license" : [
"perl_5"
],
@@ -55,5 +55,6 @@
"url" :
"http://git.profvince.com/?p=perl%2Fmodules%2Fautovivification.git"
}
},
- "version" : "0.15"
+ "version" : "0.16",
+ "x_serialization_backend" : "JSON::PP version 2.27300"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.15/META.yml
new/autovivification-0.16/META.yml
--- old/autovivification-0.15/META.yml 2015-05-14 22:09:05.000000000 +0200
+++ new/autovivification-0.16/META.yml 2015-07-01 15:47:45.000000000 +0200
@@ -12,7 +12,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.04, CPAN::Meta::Converter version
2.150001'
+generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter
version 2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -30,4 +30,5 @@
homepage: http://search.cpan.org/dist/autovivification/
license: http://dev.perl.org/licenses/
repository: http://git.profvince.com/?p=perl%2Fmodules%2Fautovivification.git
-version: '0.15'
+version: '0.16'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.15/README
new/autovivification-0.16/README
--- old/autovivification-0.15/README 2015-05-14 22:09:06.000000000 +0200
+++ new/autovivification-0.16/README 2015-07-01 15:47:45.000000000 +0200
@@ -2,7 +2,7 @@
autovivification - Lexically disable autovivification.
VERSION
- Version 0.15
+ Version 0.16
SYNOPSIS
no autovivification;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.15/autovivification.xs
new/autovivification-0.16/autovivification.xs
--- old/autovivification-0.15/autovivification.xs 2015-05-14
22:06:33.000000000 +0200
+++ new/autovivification-0.16/autovivification.xs 2015-07-01
04:08:43.000000000 +0200
@@ -41,6 +41,49 @@
# endif
#endif
+/* ... Our vivify_ref() .................................................... */
+
+/* Perl_vivify_ref() is not exported, so we have to reimplement it. */
+
+#if A_HAS_MULTIDEREF
+
+static SV *a_vivify_ref(pTHX_ SV *sv, int to_hash) {
+#define a_vivify_ref(S, TH) a_vivify_ref(aTHX_ (S), (TH))
+ SvGETMAGIC(sv);
+
+ if (!SvOK(sv)) {
+ SV *val;
+
+ if (SvREADONLY(sv))
+ Perl_croak_no_modify();
+
+ /* Inlined prepare_SV_for_RV() */
+ if (SvTYPE(sv) < SVt_PV && SvTYPE(sv) != SVt_IV) {
+ sv_upgrade(sv, SVt_IV);
+ } else if (SvTYPE(sv) >= SVt_PV) {
+ SvPV_free(sv);
+ SvLEN_set(sv, 0);
+ SvCUR_set(sv, 0);
+ }
+
+ val = to_hash ? MUTABLE_SV(newHV()) : MUTABLE_SV(newAV());
+ SvRV_set(sv, val);
+ SvROK_on(sv);
+ SvSETMAGIC(sv);
+ SvGETMAGIC(sv);
+ }
+
+ if (SvGMAGICAL(sv)) {
+ SV *msv = sv_newmortal();
+ sv_setsv_nomg(msv, sv);
+ return msv;
+ }
+
+ return sv;
+}
+
+#endif /* A_HAS_MULTIDEREF */
+
/* ... Thread safety and multiplicity ...................................... */
/* Always safe when the workaround isn't needed */
@@ -1026,7 +1069,7 @@
if (a_undef(sv))
goto ret_undef;
do_AV_vivify_rv2av_aelem:
- sv = Perl_vivify_ref(aTHX_ sv, OPpDEREF_AV);
+ sv = a_vivify_ref(sv, 0);
do_AV_rv2av_aelem:
sv = a_do_pp_rv2av(sv);
do_AV_aelem:
@@ -1105,7 +1148,7 @@
if (a_undef(sv))
goto ret_undef;
do_HV_vivify_rv2hv_helem:
- sv = Perl_vivify_ref(aTHX_ sv, OPpDEREF_HV);
+ sv = a_vivify_ref(sv, 1);
do_HV_rv2hv_helem:
sv = a_do_pp_rv2hv(sv);
do_HV_helem:
@@ -1135,7 +1178,7 @@
break;
case A_HINT_STORE:
sv = a_do_pp_hfetch_lv(sv, key);
- break;
+ break;
case A_HINT_EXISTS:
sv = a_do_pp_hexists(sv, key);
break;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.15/lib/autovivification.pm
new/autovivification-0.16/lib/autovivification.pm
--- old/autovivification-0.15/lib/autovivification.pm 2015-05-14
20:58:07.000000000 +0200
+++ new/autovivification-0.16/lib/autovivification.pm 2015-07-01
15:46:37.000000000 +0200
@@ -11,13 +11,13 @@
=head1 VERSION
-Version 0.15
+Version 0.16
=cut
our $VERSION;
BEGIN {
- $VERSION = '0.15';
+ $VERSION = '0.16';
}
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/autovivification-0.15/t/lib/VPIT/TestHelpers.pm
new/autovivification-0.16/t/lib/VPIT/TestHelpers.pm
--- old/autovivification-0.15/t/lib/VPIT/TestHelpers.pm 2015-05-14
17:13:58.000000000 +0200
+++ new/autovivification-0.16/t/lib/VPIT/TestHelpers.pm 2015-07-01
04:17:54.000000000 +0200
@@ -680,7 +680,7 @@
=item -
-C<@impls> is the list of desired implementations (which may be
C<'Time::HiRes'> or C<'sleep'>), in the order they should be checked.
+C<@impls> is the list of desired implementations (which may be
C<'Time::HiRes'>, C<'select'> or C<'sleep'>), in the order they should be
checked.
When the list is empty, it defaults to all of them.
=back