libimagequant: update to 2.11.1.

This commit is contained in:
maxice8 2017-11-04 11:17:03 -02:00 committed by Leаh Neukirchen
parent f6e8e3364b
commit 20954c4cfa
2 changed files with 2 additions and 14 deletions

View File

@ -1,12 +0,0 @@
--- libimagequant.c
+++ libimagequant.c
@@ -1256,7 +1256,7 @@ LIQ_NONNULL static float remap_to_palette(liq_image *const input_image, unsigned
kmeans_init(map, max_threads, average_color);
#pragma omp parallel for if (rows*cols > 3000) \
- schedule(static) default(none) shared(average_color) reduction(+:remapping_error)
+ schedule(static) default(none) shared(acolormap) shared(average_color) reduction(+:remapping_error)
for(int row = 0; row < rows; ++row) {
const f_pixel *const row_pixels = liq_image_get_row_f(input_image, row);
const f_pixel *const bg_pixels = input_image->background && acolormap[transparent_index].acolor.a < 1.f/256.f ? liq_image_get_row_f(input_image->background, row) : NULL;

View File

@ -1,6 +1,6 @@
# Template file for 'libimagequant'
pkgname=libimagequant
version=2.11.0
version=2.11.1
revision=1
build_style=configure
configure_args="--with-openmp"
@ -11,7 +11,7 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="https://pngquant.org/lib/"
license="GPL-3"
distfiles="https://github.com/ImageOptim/libimagequant/archive/${version}.tar.gz"
checksum=ab0b5331a04a304c2c83a372bc82eb221110a08542a345a67662e9153468e58f
checksum=b034b968ee247f7e72133ea7133ac42749d3d108a818f09692aabeedd50c3ae7
case "$XBPS_TARGET_MACHINE" in
x86_64*) configure_args+=" --enable-sse";;