Update to 2.14.0

epel9
Sandro Mani 4 years ago
parent abfadc53b4
commit 0107a37c32

1
.gitignore vendored

@ -18,3 +18,4 @@
/libimagequant-2.12.6.tar.gz
/libimagequant-2.13.0.tar.gz
/libimagequant-2.13.1.tar.gz
/libimagequant-2.14.0.tar.gz

@ -1,6 +1,6 @@
Name: libimagequant
Version: 2.13.1
Release: 2%{?dist}
Version: 2.14.0
Release: 1%{?dist}
Summary: Palette quantization library
License: GPLv3+ and MIT
@ -9,6 +9,8 @@ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
# Fix shared library permissions
Patch0: libimagequant_solibperm.patch
# Mark additional variable as shared in omp for loop
Patch1: libimagequant_omp.patch
BuildRequires: gcc
BuildRequires: make
@ -58,6 +60,9 @@ rm -f %{buildroot}%{_libdir}/%{name}.a
%changelog
* Thu Jan 28 2021 Sandro Mani <manisandro@gmail.com> - 2.14.0-1
- Update to 2.14.0
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

@ -0,0 +1,12 @@
diff -rupN libimagequant-2.14.0/libimagequant.c libimagequant-2.14.0-new/libimagequant.c
--- libimagequant-2.14.0/libimagequant.c 2021-01-27 17:20:26.000000000 +0100
+++ libimagequant-2.14.0-new/libimagequant.c 2021-01-28 13:34:35.583742796 +0100
@@ -1279,7 +1279,7 @@ LIQ_NONNULL static float remap_to_palett
#if __GNUC__ >= 9 || __clang__
#pragma omp parallel for if (rows*cols > 3000) \
- schedule(static) default(none) shared(acolormap,average_color,cols,input_image,map,n,output_pixels,rows,transparent_index) reduction(+:remapping_error)
+ schedule(static) default(none) shared(acolormap,average_color,cols,input_image,map,n,output_pixels,rows,transparent_index,background) reduction(+:remapping_error)
#else
#pragma omp parallel for if (rows*cols > 3000) \
schedule(static) default(none) shared(acolormap) shared(average_color) reduction(+:remapping_error)

@ -1,6 +1,6 @@
diff -rupN --no-dereference libimagequant-2.13.1/Makefile libimagequant-2.13.1-new/Makefile
--- libimagequant-2.13.1/Makefile 2020-11-22 14:18:54.000000000 +0100
+++ libimagequant-2.13.1-new/Makefile 2020-11-22 16:10:02.894988747 +0100
diff -rupN --no-dereference libimagequant-2.14.0/Makefile libimagequant-2.14.0-new/Makefile
--- libimagequant-2.14.0/Makefile 2021-01-27 17:20:26.000000000 +0100
+++ libimagequant-2.14.0-new/Makefile 2021-01-28 13:26:22.023156465 +0100
@@ -114,7 +114,7 @@ install: all $(PKGCONFIG)
install -d $(DESTDIR)$(PKGCONFIGDIR)
install -d $(DESTDIR)$(INCLUDEDIR)

@ -1 +1 @@
SHA512 (libimagequant-2.13.1.tar.gz) = 2146e44cc72955b7fdbda9e5d34403b05af29d202fe2d9ee5363c2cccfb46e37570d2a42b2a6e87c3cd02752887d590fe9a18365aa0db1e53869a9e3d1f0b062
SHA512 (libimagequant-2.14.0.tar.gz) = d34aa2ac9f08eebd80fb9e3e7fe22a3f10ce840152c4192735d57ae37c223350af09eeff6870ee2634b3fc51b03d1663cd6afd17daeab923af3b5f60fbef57d4

Loading…
Cancel
Save