forked from pool/giflib
This commit is contained in:
parent
397a31ba42
commit
b65158c13e
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
|
||||
in DumpScreen2RGB Function at Line 321 of gif2rgb.c
|
||||
- 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
|
||||
+ upstream fix for CVE-2021-40633 (bsc#1200551)
|
||||
- Modified patches:
|
||||
|
@ -26,10 +26,11 @@ License: MIT
|
||||
URL: https://giflib.sourceforge.net/
|
||||
Source: https://downloads.sf.net/giflib/%{name}-%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
Patch0: giflib-5.2.2-no-imagemagick.patch
|
||||
Patch1: PIE.patch
|
||||
Patch2: reproducible.patch
|
||||
Patch3: 0001-Clean-up-memory-better-at-end-of-run-CVE-2021-40633.patch
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libtool >= 2
|
||||
|
||||
%description
|
||||
@ -78,6 +79,8 @@ for i in doc/*.1; do
|
||||
install -pm 0644 ${i} %{buildroot}%{_mandir}/man1/
|
||||
done
|
||||
|
||||
%fdupes -s doc
|
||||
|
||||
# Drop static library
|
||||
rm -f %{buildroot}%{_libdir}/libgif.a
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user