This commit is contained in:
parent
e27f37199b
commit
c906b20dc2
11
giflib-5.2.2-no-imagemagick.patch
Normal file
11
giflib-5.2.2-no-imagemagick.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- giflib-5.2.2/doc/Makefile 2024-02-27 10:46:39.708678468 +0100
|
||||||
|
+++ giflib-5.2.2/doc/Makefile 2024-02-27 10:47:13.905410961 +0100
|
||||||
|
@@ -43,7 +43,7 @@
|
||||||
|
|
||||||
|
# Logo image file for HTML docs
|
||||||
|
giflib-logo.gif: ../pic/gifgrid.gif
|
||||||
|
- convert $^ -resize 50x50 $@
|
||||||
|
+ cp $^ $@
|
||||||
|
|
||||||
|
# Philosophical choice: the website gets the internal manual pages
|
||||||
|
allhtml: $(XMLALL:.xml=.html) giflib-logo.gif
|
@ -46,6 +46,9 @@ Mon Feb 26 11:29:46 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
|||||||
* Address SF issue #167: Heap-Buffer Overflow during Image Saving
|
* Address SF issue #167: Heap-Buffer Overflow during Image Saving
|
||||||
in DumpScreen2RGB Function at Line 321 of gif2rgb.c
|
in DumpScreen2RGB Function at Line 321 of gif2rgb.c
|
||||||
- Added patch:
|
- Added patch:
|
||||||
|
* giflib-5.2.2-no-imagemagick.patch
|
||||||
|
+ do not use ImageMagick to resize one gif file. It creates a
|
||||||
|
build cycle.
|
||||||
* 0001-Clean-up-memory-better-at-end-of-run-CVE-2021-40633.patch
|
* 0001-Clean-up-memory-better-at-end-of-run-CVE-2021-40633.patch
|
||||||
+ upstream fix for CVE-2021-40633 (bsc#1200551)
|
+ upstream fix for CVE-2021-40633 (bsc#1200551)
|
||||||
- Modified patches:
|
- Modified patches:
|
||||||
|
@ -26,10 +26,11 @@ License: MIT
|
|||||||
URL: https://giflib.sourceforge.net/
|
URL: https://giflib.sourceforge.net/
|
||||||
Source: https://downloads.sf.net/giflib/%{name}-%{version}.tar.gz
|
Source: https://downloads.sf.net/giflib/%{name}-%{version}.tar.gz
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
|
Patch0: giflib-5.2.2-no-imagemagick.patch
|
||||||
Patch1: PIE.patch
|
Patch1: PIE.patch
|
||||||
Patch2: reproducible.patch
|
Patch2: reproducible.patch
|
||||||
Patch3: 0001-Clean-up-memory-better-at-end-of-run-CVE-2021-40633.patch
|
Patch3: 0001-Clean-up-memory-better-at-end-of-run-CVE-2021-40633.patch
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: fdupes
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -78,6 +79,8 @@ for i in doc/*.1; do
|
|||||||
install -pm 0644 ${i} %{buildroot}%{_mandir}/man1/
|
install -pm 0644 ${i} %{buildroot}%{_mandir}/man1/
|
||||||
done
|
done
|
||||||
|
|
||||||
|
%fdupes -s doc
|
||||||
|
|
||||||
# Drop static library
|
# Drop static library
|
||||||
rm -f %{buildroot}%{_libdir}/libgif.a
|
rm -f %{buildroot}%{_libdir}/libgif.a
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user