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



Subject: Subfilters removed from xz API in version 5.0.0
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
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
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.