Package: libmemcached-libmemcached-perl / 1.001801+dfsg-6

Metadata

Package Version Patches format
libmemcached-libmemcached-perl 1.001801+dfsg-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
use system libmemcached.patch | (download)

MANIFEST | 718 0 + 718 - 0 !
Makefile.PL | 42 20 + 22 - 0 !
2 files changed, 20 insertions(+), 740 deletions(-)

 use the packaged libmemcached
 Uses the libmemcached packaged for Debian rather than compiling the bundled
 source code.
spelling.patch | (download)

lib/Memcached/libmemcached/memcached_behavior.pm | 4 2 + 2 - 0 !
lib/Memcached/libmemcached/memcached_callback.pm | 6 3 + 3 - 0 !
lib/Memcached/libmemcached/memcached_dump.pm | 2 1 + 1 - 0 !
3 files changed, 6 insertions(+), 6 deletions(-)

 spelling corrections for pod pages
reproducible build.patch | (download)

t/lib/ExtUtils/ParseXS.pm | 8 5 + 3 - 0 !
1 file changed, 5 insertions(+), 3 deletions(-)

 make the build reproducible
version test.patch | (download)

t/00-load.t | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 mark test as todo
 which compares the versions of Memcached::libmemcached and libmemcached.
 This works upstream, as they embed libmemcached, but in Debian we are building
0001 Adapt to ExtUtils ParseXS changes in Perl 5.42.patch | (download)

t/lib/ExtUtils/ParseXS.pm | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] adapt to extutils::parsexs changes in perl 5.42

The bundled ExtUtils::ParseXS is a customized fork of an old upstream
version from 2007 or so. However, it still relies on the typemap file
bundled with Perl itself.

This typemap changed in Perl 5.41.1 with
  https://github.com/Perl/perl5/commit/42cf75238c3687c1b1fad9263614036f7059c2dc
so that double quote characters are no longer escaped.

This broke custom EU::ParseXS eval qq/"$expr;"/ style calls with code
interpolated from the typemap when generating code for the walk_stats()
function. The end result was that the callback argument in the function
never got set and the test suite failed with 'not a CODE reference'.

Work around this by using qq{} instead of "". Not sure if this is any
more robust, but it least it works with both Perl 5.40 and 5.42.


Bug-Debian: https://bugs.debian.org/1111915
Bug: https://github.com/timbunce/Memcached-libmemcached/pull/29