perl-Compress-Raw-Lzma/Compress-Raw-Lzma-2.030-no-subfilters.patch
Paul Howarth 927c8a46f3 Patch out subfilter constants
- The xz API changed slightly for the 5.0.0 release, removing support
  for sub-block filters and bumping the library soname to liblzma.so.5.
  This update patches out the now-missing constants so that the
  package can be built with the new library.

  The issue has been raised upstream as CPAN RT#62461
2010-10-26 18:45:07 +01:00

32 lines
699 B
Diff

--- 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