Update to 2.14.1

epel9
Sandro Mani 4 years ago
parent 0107a37c32
commit 584a51c136

1
.gitignore vendored

@ -19,3 +19,4 @@
/libimagequant-2.13.0.tar.gz
/libimagequant-2.13.1.tar.gz
/libimagequant-2.14.0.tar.gz
/libimagequant-2.14.1.tar.gz

@ -1,5 +1,5 @@
Name: libimagequant
Version: 2.14.0
Version: 2.14.1
Release: 1%{?dist}
Summary: Palette quantization library
@ -9,8 +9,6 @@ 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
@ -60,6 +58,9 @@ rm -f %{buildroot}%{_libdir}/%{name}.a
%changelog
* Wed Mar 03 2021 Sandro Mani <manisandro@gmail.com> - 2.14.1-1
- Update to 2.14.1
* Thu Jan 28 2021 Sandro Mani <manisandro@gmail.com> - 2.14.0-1
- Update to 2.14.0

@ -1,12 +0,0 @@
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,7 +1,7 @@
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)
diff -rupN --no-dereference libimagequant-2.14.1/Makefile libimagequant-2.14.1-new/Makefile
--- libimagequant-2.14.1/Makefile 2021-02-28 19:12:44.000000000 +0100
+++ libimagequant-2.14.1-new/Makefile 2021-03-03 00:00:30.634870628 +0100
@@ -115,7 +115,7 @@ install: all $(PKGCONFIG)
install -d $(DESTDIR)$(PKGCONFIGDIR)
install -d $(DESTDIR)$(INCLUDEDIR)
install -m 644 $(STATICLIB) $(DESTDIR)$(LIBDIR)/$(STATICLIB)

@ -1 +1 @@
SHA512 (libimagequant-2.14.0.tar.gz) = d34aa2ac9f08eebd80fb9e3e7fe22a3f10ce840152c4192735d57ae37c223350af09eeff6870ee2634b3fc51b03d1663cd6afd17daeab923af3b5f60fbef57d4
SHA512 (libimagequant-2.14.1.tar.gz) = 2219d767555c69cdb47bb46cdeb18362358e9465d6e3a249d75c55e5a9dabd434f44908cb4756fbc12e9a786ee602192c0eb8e9d1932ade43781e80ba029bd67

Loading…
Cancel
Save