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