Skip Menu |
 

This queue is for tickets about the Compress-Raw-Lzma CPAN distribution.

Report information
The Basics
Id: 62461
Status: resolved
Priority: 0/
Queue: Compress-Raw-Lzma

People
Owner: Nobody in particular
Requestors: paul [...] city-fan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.030
Fixed in: 2.031

Attachments
Compress-Raw-Lzma-2.030-no-subfilters.patch



Subject: Subfilters removed from xz API in version 5.0.0
Download (untitled) / with headers
text/plain 413b
The subfilters API has been removed from the xz API (back in May) and so some of the constants from that API are no longer available in the newly-released xz 5.0.0. The attached patch is sufficient to get the module building for me, plus passing its own test suite and also the IO::Compress::Lzma test suite. I didn't touch the fallback constants header file as I didn't need it, but that may need tweaking too.
Subject: Compress-Raw-Lzma-2.030-no-subfilters.patch
--- Compress-Raw-Lzma-2.030/Makefile.PL.orig 2009-12-27 13:49:56.000000000 +0000 +++ Compress-Raw-Lzma-2.030/Makefile.PL 2010-10-26 15:53:26.339111604 +0100 @@ -288,28 +288,6 @@ #LZMA_BACKWARD_SIZE_MAX -# subblock.h -########## -LZMA_FILTER_SUBBLOCK - -# enum lzma_subfilter_mode -LZMA_SUBFILTER_NONE enum -LZMA_SUBFILTER_SET enum -LZMA_SUBFILTER_RUN enum -LZMA_SUBFILTER_FINISH enum - -LZMA_SUBBLOCK_ALIGNMENT_MIN -LZMA_SUBBLOCK_ALIGNMENT_MAX -LZMA_SUBBLOCK_ALIGNMENT_DEFAULT - -LZMA_SUBBLOCK_DATA_SIZE_MIN -LZMA_SUBBLOCK_DATA_SIZE_MAX -LZMA_SUBBLOCK_DATA_SIZE_DEFAULT - -LZMA_SUBBLOCK_RLE_OFF -LZMA_SUBBLOCK_RLE_MIN -LZMA_SUBBLOCK_RLE_MAX - # version.h ########### LZMA_VERSION
Download (untitled) / with headers
text/plain 163b
Thanks for the report & patch. I saw the 5.0 announcement yesterday, but haven't had a chance to check it out yet - obviously I need to make a change. cheers Paul
Updated version (2.031) of module uploaded to CPAN. Paul
From: paul [...] city-fan.org
Download (untitled) / with headers
text/plain 127b
On Tue Oct 26 18:05:49 2010, PMQS wrote: Show quoted text
> Updated version (2.031) of module uploaded to CPAN.
Thanks, that works fine. Paul.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.