From c610433e12c382ddff0a40cc4d58eb0f75dda2db Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sat, 23 Sep 2017 20:24:21 +0300 Subject: [PATCH] Update brotli to v1.0.1 --- Brotli.xs | 22 ---------------------- Makefile.PL | 2 +- brotli | 2 +- 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/Brotli.xs b/Brotli.xs index 2370abb..ffbde1e 100644 --- a/Brotli.xs +++ b/Brotli.xs @@ -88,17 +88,6 @@ decompress(self, in) OUTPUT: RETVAL -void -set_dictionary(self, dict) - IO::Uncompress::Brotli self - SV* dict - PREINIT: - size_t size; - uint8_t *data; - CODE: - data = SvPV(dict, size); - BrotliDecoderSetCustomDictionary(self->decoder, size, data); - MODULE = IO::Compress::Brotli PACKAGE = IO::Compress::Brotli PROTOTYPES: ENABLE @@ -261,14 +250,3 @@ DESTROY(self) CODE: BrotliEncoderDestroyInstance(self->encoder); Safefree(self); - -void -set_dictionary(self, dict) - IO::Compress::Brotli self - SV* dict - PREINIT: - size_t size; - uint8_t *data; - CODE: - data = SvPV(dict, size); - BrotliEncoderSetCustomDictionary(self->encoder, size, data); diff --git a/Makefile.PL b/Makefile.PL index d04bb68..73fe222 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -16,7 +16,7 @@ WriteMakefile( 'Time::HiRes' => '0', }, BUILD_REQUIRES => {}, - INC => '-Ibrotli/include', + INC => '-Ibrotli/c/include', MYEXTLIB => 'brotli/libbrotli$(LIB_EXT)', clean => { FILES => 'brotli/libbrotli$(LIB_EXT)' }, META_ADD => { diff --git a/brotli b/brotli index 46c1a88..5b47699 160000 --- a/brotli +++ b/brotli @@ -1 +1 @@ -Subproject commit 46c1a881b41bb638c76247558aa04b1591af3aa7 +Subproject commit 5b4769990dc14a2bd466d2599c946c5652cba4b2 -- 2.30.2