]> git.pld-linux.org Git - packages/gd.git/blame - gd-liq.patch
- added upstream patch (taken from Fedora): fixes tiff_invalid_read test failure
[packages/gd.git] / gd-liq.patch
CommitLineData
35d1d5c8
JB
1--- libgd-2.2.3/src/gd_topal.c.orig 2016-07-21 10:06:42.000000000 +0200
2+++ libgd-2.2.3/src/gd_topal.c 2016-08-27 21:45:24.911652643 +0200
3@@ -1545,7 +1545,7 @@
4 #ifdef HAVE_LIBIMAGEQUANT
5 if (oim->paletteQuantizationMethod == GD_QUANT_DEFAULT ||
6 oim->paletteQuantizationMethod == GD_QUANT_LIQ) {
7- liq_attr *attr = liq_attr_create_with_allocator(gdMalloc, gdFree);
8+ liq_attr *attr = liq_attr_create(); // not passing gdMalloc/gdFree as allocators: they are just malloc/free, but liq requires 16-byte alignment
9 liq_image *image;
10 liq_result *remap;
11 int remapped_ok = 0;
This page took 0.027096 seconds and 4 git commands to generate.