From 880d895e67db4ed60978f396be7f7c11deae7cd6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 02:18:16 +0000 Subject: [PATCH 1/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- giflib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/giflib.spec b/giflib.spec index fe98d4d..8c1766b 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Name: giflib Summary: A library and utilities for processing GIFs Version: 5.2.2 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -146,6 +146,9 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog +* Thu Jul 18 2024 Fedora Release Engineering - 5.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Feb 19 2024 Sandro Mani - 5.2.2-1 - Update to 5.2.2 From 8e1d361c1b990d5b5680e382e899d266aaad031b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 21:57:03 +0000 Subject: [PATCH 2/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- giflib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/giflib.spec b/giflib.spec index 8c1766b..251f659 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Name: giflib Summary: A library and utilities for processing GIFs Version: 5.2.2 -Release: 2%{?dist} +Release: 3%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -146,6 +146,9 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 5.2.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Jul 18 2024 Fedora Release Engineering - 5.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From a4acb22cd1a25bc9d3c85434d22338e0f25964a8 Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Wed, 2 Apr 2025 11:31:14 +0300 Subject: [PATCH 3/8] Install getarg.h header file --- CMakeLists.txt | 2 +- giflib.spec | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b69a03d..8404ca6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ foreach(UTILITY ${giflib_UTILS}) install(TARGETS ${UTILITY} DESTINATION bin) endforeach() -install(FILES gif_lib.h DESTINATION include) +install(FILES gif_lib.h getarg.h DESTINATION include) install(FILES ${giflib_MAN} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1) diff --git a/giflib.spec b/giflib.spec index 251f659..de2f6c1 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Name: giflib Summary: A library and utilities for processing GIFs Version: 5.2.2 -Release: 3%{?dist} +Release: 4%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -121,6 +121,7 @@ rm -rf %{buildroot}%{mingw64_mandir} %doc doc/* %{_libdir}/libgif.so %{_includedir}/gif_lib.h +%{_includedir}/getarg.h %files utils %{_bindir}/gif* @@ -130,6 +131,7 @@ rm -rf %{buildroot}%{mingw64_mandir} %license COPYING %{mingw32_bindir}/libgif-7.dll %{mingw32_includedir}/gif_lib.h +%{mingw32_includedir}/getarg.h %{mingw32_libdir}/libgif.dll.a %files -n mingw32-%{name}-tools @@ -139,6 +141,7 @@ rm -rf %{buildroot}%{mingw64_mandir} %license COPYING %{mingw64_bindir}/libgif-7.dll %{mingw64_includedir}/gif_lib.h +%{mingw64_includedir}/getarg.h %{mingw64_libdir}/libgif.dll.a %files -n mingw64-%{name}-tools @@ -146,6 +149,9 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog +* Wed Apr 02 2025 Benson Muite - 5.2.2-4 +- Install getarg.h header file + * Thu Jan 16 2025 Fedora Release Engineering - 5.2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From cb8a423c41cf2f474194bc19b38dac0a6cb8fcc6 Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Wed, 2 Apr 2025 14:29:21 +0300 Subject: [PATCH 4/8] Change getarg.h to gif_getarg.h --- CMakeLists.txt | 2 +- getarg.patch | 308 +++++++++++++++++++++++++++++++++++++++++++++++++ giflib.spec | 16 ++- 3 files changed, 319 insertions(+), 7 deletions(-) create mode 100644 getarg.patch diff --git a/CMakeLists.txt b/CMakeLists.txt index 8404ca6..92151d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ foreach(UTILITY ${giflib_UTILS}) install(TARGETS ${UTILITY} DESTINATION bin) endforeach() -install(FILES gif_lib.h getarg.h DESTINATION include) +install(FILES gif_lib.h gif_getarg.h DESTINATION include) install(FILES ${giflib_MAN} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1) diff --git a/getarg.patch b/getarg.patch new file mode 100644 index 0000000..34e9cab --- /dev/null +++ b/getarg.patch @@ -0,0 +1,308 @@ +diff -ruN giflib-5.2.2/getarg.c giflib-5.2.2-getarg/getarg.c +--- giflib-5.2.2/getarg.c 2024-02-19 06:01:27.000000000 +0300 ++++ giflib-5.2.2-getarg/getarg.c 2025-04-02 14:06:46.761392686 +0300 +@@ -112,7 +112,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + + #define MAX_PARAM 100 /* maximum number of parameters allowed. */ + #define CTRL_STR_MAX_LEN 1024 +diff -ruN giflib-5.2.2/getarg.h giflib-5.2.2-getarg/getarg.h +--- giflib-5.2.2/getarg.h 2024-02-19 05:20:00.000000000 +0300 ++++ giflib-5.2.2-getarg/getarg.h 1970-01-01 03:00:00.000000000 +0300 +@@ -1,54 +0,0 @@ +-/*************************************************************************** +- +-getarg.h - Support routines for the giflib utilities +- +-SPDX-License-Identifier: MIT +- +- **************************************************************************/ +- +-#ifndef _GETARG_H +-#define _GETARG_H +- +-#include "gif_lib.h" +-#include +- +-#define VERSION_COOKIE " Version %d.%d, " +- +-/*************************************************************************** +- Error numbers as returned by GAGetArg routine: +-***************************************************************************/ +-#define CMD_ERR_NotAnOpt 1 /* None Option found. */ +-#define CMD_ERR_NoSuchOpt 2 /* Undefined Option Found. */ +-#define CMD_ERR_WildEmpty 3 /* Empty input for !*? seq. */ +-#define CMD_ERR_NumRead 4 /* Failed on reading number. */ +-#define CMD_ERR_AllSatis 5 /* Fail to satisfy (must-'!') option. */ +- +-bool GAGetArgs(int argc, char **argv, char *CtrlStr, ...); +-void GAPrintErrMsg(int Error); +-void GAPrintHowTo(char *CtrlStr); +- +-/****************************************************************************** +- From qprintf.c +-******************************************************************************/ +-extern void GifQprintf(char *Format, ...); +-extern void PrintGifError(int ErrorCode); +- +-/****************************************************************************** +- Color table quantization +-******************************************************************************/ +-int GifQuantizeBuffer(unsigned int Width, unsigned int Height, +- int *ColorMapSize, GifByteType *RedInput, +- GifByteType *GreenInput, GifByteType *BlueInput, +- GifByteType *OutputBuffer, GifColorType *OutputColorMap); +- +-/* These used to live in the library header */ +-#define GIF_MESSAGE(Msg) fprintf(stderr, "\n%s: %s\n", PROGRAM_NAME, Msg) +-#define GIF_EXIT(Msg) \ +- { \ +- GIF_MESSAGE(Msg); \ +- exit(-3); \ +- } +- +-#endif /* _GETARG_H */ +- +-/* end */ +diff -ruN giflib-5.2.2/gif2rgb.c giflib-5.2.2-getarg/gif2rgb.c +--- giflib-5.2.2/gif2rgb.c 2025-04-02 13:56:45.432522463 +0300 ++++ giflib-5.2.2-getarg/gif2rgb.c 2025-04-02 14:11:36.739658922 +0300 +@@ -34,7 +34,7 @@ + #include + #endif /* _WIN32 */ + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gif2rgb" +diff -ruN giflib-5.2.2/gifbg.c giflib-5.2.2-getarg/gifbg.c +--- giflib-5.2.2/gifbg.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/gifbg.c 2025-04-02 14:07:09.489604643 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifbg" +diff -ruN giflib-5.2.2/gifbuild.c giflib-5.2.2-getarg/gifbuild.c +--- giflib-5.2.2/gifbuild.c 2024-02-19 06:05:16.000000000 +0300 ++++ giflib-5.2.2-getarg/gifbuild.c 2025-04-02 14:07:41.226029058 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifbuild" +diff -ruN giflib-5.2.2/gifclrmp.c giflib-5.2.2-getarg/gifclrmp.c +--- giflib-5.2.2/gifclrmp.c 2024-02-19 06:01:27.000000000 +0300 ++++ giflib-5.2.2-getarg/gifclrmp.c 2025-04-02 14:08:05.234274976 +0300 +@@ -14,7 +14,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifclrmp" +diff -ruN giflib-5.2.2/gifcolor.c giflib-5.2.2-getarg/gifcolor.c +--- giflib-5.2.2/gifcolor.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/gifcolor.c 2025-04-02 14:08:24.954333260 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifcolor" +diff -ruN giflib-5.2.2/gifecho.c giflib-5.2.2-getarg/gifecho.c +--- giflib-5.2.2/gifecho.c 2024-02-19 06:01:27.000000000 +0300 ++++ giflib-5.2.2-getarg/gifecho.c 2025-04-02 14:08:42.490448501 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifecho" +diff -ruN giflib-5.2.2/giffilter.c giflib-5.2.2-getarg/giffilter.c +--- giflib-5.2.2/giffilter.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/giffilter.c 2025-04-02 14:09:03.546624488 +0300 +@@ -25,7 +25,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "giffilter" +diff -ruN giflib-5.2.2/giffix.c giflib-5.2.2-getarg/giffix.c +--- giflib-5.2.2/giffix.c 2024-02-19 06:01:27.000000000 +0300 ++++ giflib-5.2.2-getarg/giffix.c 2025-04-02 14:09:26.162882098 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "giffix" +diff -ruN giflib-5.2.2/gif_getarg.h giflib-5.2.2-getarg/gif_getarg.h +--- giflib-5.2.2/gif_getarg.h 1970-01-01 03:00:00.000000000 +0300 ++++ giflib-5.2.2-getarg/gif_getarg.h 2025-04-02 14:04:40.299508057 +0300 +@@ -0,0 +1,54 @@ ++/*************************************************************************** ++ ++getarg.h - Support routines for the giflib utilities ++ ++SPDX-License-Identifier: MIT ++ ++ **************************************************************************/ ++ ++#ifndef _GETARG_H ++#define _GETARG_H ++ ++#include "gif_lib.h" ++#include ++ ++#define VERSION_COOKIE " Version %d.%d, " ++ ++/*************************************************************************** ++ Error numbers as returned by GAGetArg routine: ++***************************************************************************/ ++#define CMD_ERR_NotAnOpt 1 /* None Option found. */ ++#define CMD_ERR_NoSuchOpt 2 /* Undefined Option Found. */ ++#define CMD_ERR_WildEmpty 3 /* Empty input for !*? seq. */ ++#define CMD_ERR_NumRead 4 /* Failed on reading number. */ ++#define CMD_ERR_AllSatis 5 /* Fail to satisfy (must-'!') option. */ ++ ++bool GAGetArgs(int argc, char **argv, char *CtrlStr, ...); ++void GAPrintErrMsg(int Error); ++void GAPrintHowTo(char *CtrlStr); ++ ++/****************************************************************************** ++ From qprintf.c ++******************************************************************************/ ++extern void GifQprintf(char *Format, ...); ++extern void PrintGifError(int ErrorCode); ++ ++/****************************************************************************** ++ Color table quantization ++******************************************************************************/ ++int GifQuantizeBuffer(unsigned int Width, unsigned int Height, ++ int *ColorMapSize, GifByteType *RedInput, ++ GifByteType *GreenInput, GifByteType *BlueInput, ++ GifByteType *OutputBuffer, GifColorType *OutputColorMap); ++ ++/* These used to live in the library header */ ++#define GIF_MESSAGE(Msg) fprintf(stderr, "\n%s: %s\n", PROGRAM_NAME, Msg) ++#define GIF_EXIT(Msg) \ ++ { \ ++ GIF_MESSAGE(Msg); \ ++ exit(-3); \ ++ } ++ ++#endif /* _GETARG_H */ ++ ++/* end */ +diff -ruN giflib-5.2.2/gifhisto.c giflib-5.2.2-getarg/gifhisto.c +--- giflib-5.2.2/gifhisto.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/gifhisto.c 2025-04-02 14:09:45.643183312 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifhisto" +diff -ruN giflib-5.2.2/gifinto.c giflib-5.2.2-getarg/gifinto.c +--- giflib-5.2.2/gifinto.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/gifinto.c 2025-04-02 14:10:06.403197077 +0300 +@@ -19,7 +19,7 @@ + #include + #endif /* _WIN32 */ + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifinto" +diff -ruN giflib-5.2.2/gifsponge.c giflib-5.2.2-getarg/gifsponge.c +--- giflib-5.2.2/gifsponge.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/gifsponge.c 2025-04-02 14:10:23.555170542 +0300 +@@ -25,7 +25,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifsponge" +diff -ruN giflib-5.2.2/giftext.c giflib-5.2.2-getarg/giftext.c +--- giflib-5.2.2/giftext.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/giftext.c 2025-04-02 14:10:40.427363509 +0300 +@@ -16,7 +16,7 @@ + #include + #endif /* _WIN32 */ + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "giftext" +diff -ruN giflib-5.2.2/giftool.c giflib-5.2.2-getarg/giftool.c +--- giflib-5.2.2/giftool.c 2024-02-19 06:01:28.000000000 +0300 ++++ giflib-5.2.2-getarg/giftool.c 2025-04-02 14:10:59.579511889 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "getopt.h" + #include "gif_lib.h" + +diff -ruN giflib-5.2.2/gifwedge.c giflib-5.2.2-getarg/gifwedge.c +--- giflib-5.2.2/gifwedge.c 2024-02-19 06:01:27.000000000 +0300 ++++ giflib-5.2.2-getarg/gifwedge.c 2025-04-02 14:11:16.163652219 +0300 +@@ -12,7 +12,7 @@ + #include + #include + +-#include "getarg.h" ++#include "gif_getarg.h" + #include "gif_lib.h" + + #define PROGRAM_NAME "gifwedge" +diff -ruN giflib-5.2.2/Makefile giflib-5.2.2-getarg/Makefile +--- giflib-5.2.2/Makefile 2025-04-02 13:56:24.568117543 +0300 ++++ giflib-5.2.2-getarg/Makefile 2025-04-02 14:05:51.785348480 +0300 +@@ -34,7 +34,7 @@ + OBJECTS = $(SOURCES:.c=.o) + + USOURCES = qprintf.c getarg.c +-UHEADERS = getarg.h ++UHEADERS = gif_getarg.h + UOBJECTS = $(USOURCES:.c=.o) + + UNAME:=$(shell uname) diff --git a/giflib.spec b/giflib.spec index de2f6c1..d5b4af7 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Name: giflib Summary: A library and utilities for processing GIFs Version: 5.2.2 -Release: 4%{?dist} +Release: 5%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -14,7 +14,9 @@ Patch0: giflib_quantize.patch Patch1: giflib_coverity.patch # Generate HTML docs with consistent section IDs to avoid multilib difference Patch2: giflib_html-docs-consistent-ids.patch - +# Rename getarg.h to gif_getarg.h +# https://sourceforge.net/p/giflib/code/merge-requests/18/ +Patch3: getarg.patch BuildRequires: cmake BuildRequires: gcc @@ -91,7 +93,6 @@ BuildArch: noarch %autosetup -p1 cp -a %{SOURCE1} . - %build # Native build %cmake @@ -121,7 +122,7 @@ rm -rf %{buildroot}%{mingw64_mandir} %doc doc/* %{_libdir}/libgif.so %{_includedir}/gif_lib.h -%{_includedir}/getarg.h +%{_includedir}/gif_getarg.h %files utils %{_bindir}/gif* @@ -131,7 +132,7 @@ rm -rf %{buildroot}%{mingw64_mandir} %license COPYING %{mingw32_bindir}/libgif-7.dll %{mingw32_includedir}/gif_lib.h -%{mingw32_includedir}/getarg.h +%{mingw32_includedir}/gif_getarg.h %{mingw32_libdir}/libgif.dll.a %files -n mingw32-%{name}-tools @@ -141,7 +142,7 @@ rm -rf %{buildroot}%{mingw64_mandir} %license COPYING %{mingw64_bindir}/libgif-7.dll %{mingw64_includedir}/gif_lib.h -%{mingw64_includedir}/getarg.h +%{mingw64_includedir}/gif_getarg.h %{mingw64_libdir}/libgif.dll.a %files -n mingw64-%{name}-tools @@ -149,6 +150,9 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog +* Wed Apr 02 2025 Benson Muite - 5.2.2-5 +- Rename getarg.h to gif_getarg.h + * Wed Apr 02 2025 Benson Muite - 5.2.2-4 - Install getarg.h header file From c22b8e9757d8c3cd57eb2125b706bb90b7f37791 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 15 Apr 2025 19:49:32 +0200 Subject: [PATCH 5/8] Add proposed patch for CVE-2025-31334 --- getarg.patch | 140 +++++++++++++------------- giflib-5.2.2-cve-2025-31344.patch | 15 +++ giflib.spec | 11 +- giflib_coverity.patch | 2 +- giflib_html-docs-consistent-ids.patch | 2 +- giflib_quantize.patch | 2 +- 6 files changed, 96 insertions(+), 76 deletions(-) create mode 100644 giflib-5.2.2-cve-2025-31344.patch diff --git a/getarg.patch b/getarg.patch index 34e9cab..4026183 100644 --- a/getarg.patch +++ b/getarg.patch @@ -1,7 +1,7 @@ -diff -ruN giflib-5.2.2/getarg.c giflib-5.2.2-getarg/getarg.c ---- giflib-5.2.2/getarg.c 2024-02-19 06:01:27.000000000 +0300 -+++ giflib-5.2.2-getarg/getarg.c 2025-04-02 14:06:46.761392686 +0300 -@@ -112,7 +112,7 @@ +diff -rupN --no-dereference giflib-5.2.2/getarg.c giflib-5.2.2-new/getarg.c +--- giflib-5.2.2/getarg.c 2024-02-19 04:01:27.000000000 +0100 ++++ giflib-5.2.2-new/getarg.c 2025-04-15 16:56:27.276152030 +0200 +@@ -112,7 +112,7 @@ SPDX-License-Identifier: MIT #include #include @@ -10,9 +10,9 @@ diff -ruN giflib-5.2.2/getarg.c giflib-5.2.2-getarg/getarg.c #define MAX_PARAM 100 /* maximum number of parameters allowed. */ #define CTRL_STR_MAX_LEN 1024 -diff -ruN giflib-5.2.2/getarg.h giflib-5.2.2-getarg/getarg.h ---- giflib-5.2.2/getarg.h 2024-02-19 05:20:00.000000000 +0300 -+++ giflib-5.2.2-getarg/getarg.h 1970-01-01 03:00:00.000000000 +0300 +diff -rupN --no-dereference giflib-5.2.2/getarg.h giflib-5.2.2-new/getarg.h +--- giflib-5.2.2/getarg.h 2024-02-19 03:20:00.000000000 +0100 ++++ giflib-5.2.2-new/getarg.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,54 +0,0 @@ -/*************************************************************************** - @@ -68,10 +68,10 @@ diff -ruN giflib-5.2.2/getarg.h giflib-5.2.2-getarg/getarg.h -#endif /* _GETARG_H */ - -/* end */ -diff -ruN giflib-5.2.2/gif2rgb.c giflib-5.2.2-getarg/gif2rgb.c ---- giflib-5.2.2/gif2rgb.c 2025-04-02 13:56:45.432522463 +0300 -+++ giflib-5.2.2-getarg/gif2rgb.c 2025-04-02 14:11:36.739658922 +0300 -@@ -34,7 +34,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gif2rgb.c giflib-5.2.2-new/gif2rgb.c +--- giflib-5.2.2/gif2rgb.c 2025-04-15 16:56:27.247167987 +0200 ++++ giflib-5.2.2-new/gif2rgb.c 2025-04-15 16:56:27.276617411 +0200 +@@ -34,7 +34,7 @@ with our utilities mainly interesting as #include #endif /* _WIN32 */ @@ -80,10 +80,10 @@ diff -ruN giflib-5.2.2/gif2rgb.c giflib-5.2.2-getarg/gif2rgb.c #include "gif_lib.h" #define PROGRAM_NAME "gif2rgb" -diff -ruN giflib-5.2.2/gifbg.c giflib-5.2.2-getarg/gifbg.c ---- giflib-5.2.2/gifbg.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/gifbg.c 2025-04-02 14:07:09.489604643 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifbg.c giflib-5.2.2-new/gifbg.c +--- giflib-5.2.2/gifbg.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/gifbg.c 2025-04-15 16:56:27.276870781 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -92,10 +92,10 @@ diff -ruN giflib-5.2.2/gifbg.c giflib-5.2.2-getarg/gifbg.c #include "gif_lib.h" #define PROGRAM_NAME "gifbg" -diff -ruN giflib-5.2.2/gifbuild.c giflib-5.2.2-getarg/gifbuild.c ---- giflib-5.2.2/gifbuild.c 2024-02-19 06:05:16.000000000 +0300 -+++ giflib-5.2.2-getarg/gifbuild.c 2025-04-02 14:07:41.226029058 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifbuild.c giflib-5.2.2-new/gifbuild.c +--- giflib-5.2.2/gifbuild.c 2024-02-19 04:05:16.000000000 +0100 ++++ giflib-5.2.2-new/gifbuild.c 2025-04-15 16:56:27.277111740 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -104,10 +104,10 @@ diff -ruN giflib-5.2.2/gifbuild.c giflib-5.2.2-getarg/gifbuild.c #include "gif_lib.h" #define PROGRAM_NAME "gifbuild" -diff -ruN giflib-5.2.2/gifclrmp.c giflib-5.2.2-getarg/gifclrmp.c ---- giflib-5.2.2/gifclrmp.c 2024-02-19 06:01:27.000000000 +0300 -+++ giflib-5.2.2-getarg/gifclrmp.c 2025-04-02 14:08:05.234274976 +0300 -@@ -14,7 +14,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifclrmp.c giflib-5.2.2-new/gifclrmp.c +--- giflib-5.2.2/gifclrmp.c 2024-02-19 04:01:27.000000000 +0100 ++++ giflib-5.2.2-new/gifclrmp.c 2025-04-15 16:56:27.277368098 +0200 +@@ -14,7 +14,7 @@ SPDX-License-Identifier: MIT #include #include @@ -116,10 +116,10 @@ diff -ruN giflib-5.2.2/gifclrmp.c giflib-5.2.2-getarg/gifclrmp.c #include "gif_lib.h" #define PROGRAM_NAME "gifclrmp" -diff -ruN giflib-5.2.2/gifcolor.c giflib-5.2.2-getarg/gifcolor.c ---- giflib-5.2.2/gifcolor.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/gifcolor.c 2025-04-02 14:08:24.954333260 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifcolor.c giflib-5.2.2-new/gifcolor.c +--- giflib-5.2.2/gifcolor.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/gifcolor.c 2025-04-15 16:56:27.277585194 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -128,10 +128,10 @@ diff -ruN giflib-5.2.2/gifcolor.c giflib-5.2.2-getarg/gifcolor.c #include "gif_lib.h" #define PROGRAM_NAME "gifcolor" -diff -ruN giflib-5.2.2/gifecho.c giflib-5.2.2-getarg/gifecho.c ---- giflib-5.2.2/gifecho.c 2024-02-19 06:01:27.000000000 +0300 -+++ giflib-5.2.2-getarg/gifecho.c 2025-04-02 14:08:42.490448501 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifecho.c giflib-5.2.2-new/gifecho.c +--- giflib-5.2.2/gifecho.c 2024-02-19 04:01:27.000000000 +0100 ++++ giflib-5.2.2-new/gifecho.c 2025-04-15 16:56:27.277769355 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -140,10 +140,10 @@ diff -ruN giflib-5.2.2/gifecho.c giflib-5.2.2-getarg/gifecho.c #include "gif_lib.h" #define PROGRAM_NAME "gifecho" -diff -ruN giflib-5.2.2/giffilter.c giflib-5.2.2-getarg/giffilter.c ---- giflib-5.2.2/giffilter.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/giffilter.c 2025-04-02 14:09:03.546624488 +0300 -@@ -25,7 +25,7 @@ +diff -rupN --no-dereference giflib-5.2.2/giffilter.c giflib-5.2.2-new/giffilter.c +--- giflib-5.2.2/giffilter.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/giffilter.c 2025-04-15 16:56:27.277955467 +0200 +@@ -25,7 +25,7 @@ SPDX-License-Identifier: MIT #include #include @@ -152,10 +152,10 @@ diff -ruN giflib-5.2.2/giffilter.c giflib-5.2.2-getarg/giffilter.c #include "gif_lib.h" #define PROGRAM_NAME "giffilter" -diff -ruN giflib-5.2.2/giffix.c giflib-5.2.2-getarg/giffix.c ---- giflib-5.2.2/giffix.c 2024-02-19 06:01:27.000000000 +0300 -+++ giflib-5.2.2-getarg/giffix.c 2025-04-02 14:09:26.162882098 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/giffix.c giflib-5.2.2-new/giffix.c +--- giflib-5.2.2/giffix.c 2024-02-19 04:01:27.000000000 +0100 ++++ giflib-5.2.2-new/giffix.c 2025-04-15 16:56:27.278150152 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -164,9 +164,9 @@ diff -ruN giflib-5.2.2/giffix.c giflib-5.2.2-getarg/giffix.c #include "gif_lib.h" #define PROGRAM_NAME "giffix" -diff -ruN giflib-5.2.2/gif_getarg.h giflib-5.2.2-getarg/gif_getarg.h ---- giflib-5.2.2/gif_getarg.h 1970-01-01 03:00:00.000000000 +0300 -+++ giflib-5.2.2-getarg/gif_getarg.h 2025-04-02 14:04:40.299508057 +0300 +diff -rupN --no-dereference giflib-5.2.2/gif_getarg.h giflib-5.2.2-new/gif_getarg.h +--- giflib-5.2.2/gif_getarg.h 1970-01-01 01:00:00.000000000 +0100 ++++ giflib-5.2.2-new/gif_getarg.h 2025-04-15 16:56:27.278343984 +0200 @@ -0,0 +1,54 @@ +/*************************************************************************** + @@ -222,10 +222,10 @@ diff -ruN giflib-5.2.2/gif_getarg.h giflib-5.2.2-getarg/gif_getarg.h +#endif /* _GETARG_H */ + +/* end */ -diff -ruN giflib-5.2.2/gifhisto.c giflib-5.2.2-getarg/gifhisto.c ---- giflib-5.2.2/gifhisto.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/gifhisto.c 2025-04-02 14:09:45.643183312 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifhisto.c giflib-5.2.2-new/gifhisto.c +--- giflib-5.2.2/gifhisto.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/gifhisto.c 2025-04-15 16:56:27.278489203 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -234,10 +234,10 @@ diff -ruN giflib-5.2.2/gifhisto.c giflib-5.2.2-getarg/gifhisto.c #include "gif_lib.h" #define PROGRAM_NAME "gifhisto" -diff -ruN giflib-5.2.2/gifinto.c giflib-5.2.2-getarg/gifinto.c ---- giflib-5.2.2/gifinto.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/gifinto.c 2025-04-02 14:10:06.403197077 +0300 -@@ -19,7 +19,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifinto.c giflib-5.2.2-new/gifinto.c +--- giflib-5.2.2/gifinto.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/gifinto.c 2025-04-15 16:56:27.278753624 +0200 +@@ -19,7 +19,7 @@ SPDX-License-Identifier: MIT #include #endif /* _WIN32 */ @@ -246,10 +246,10 @@ diff -ruN giflib-5.2.2/gifinto.c giflib-5.2.2-getarg/gifinto.c #include "gif_lib.h" #define PROGRAM_NAME "gifinto" -diff -ruN giflib-5.2.2/gifsponge.c giflib-5.2.2-getarg/gifsponge.c ---- giflib-5.2.2/gifsponge.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/gifsponge.c 2025-04-02 14:10:23.555170542 +0300 -@@ -25,7 +25,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifsponge.c giflib-5.2.2-new/gifsponge.c +--- giflib-5.2.2/gifsponge.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/gifsponge.c 2025-04-15 16:56:27.278945283 +0200 +@@ -25,7 +25,7 @@ SPDX-License-Identifier: MIT #include #include @@ -258,10 +258,10 @@ diff -ruN giflib-5.2.2/gifsponge.c giflib-5.2.2-getarg/gifsponge.c #include "gif_lib.h" #define PROGRAM_NAME "gifsponge" -diff -ruN giflib-5.2.2/giftext.c giflib-5.2.2-getarg/giftext.c ---- giflib-5.2.2/giftext.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/giftext.c 2025-04-02 14:10:40.427363509 +0300 -@@ -16,7 +16,7 @@ +diff -rupN --no-dereference giflib-5.2.2/giftext.c giflib-5.2.2-new/giftext.c +--- giflib-5.2.2/giftext.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/giftext.c 2025-04-15 16:56:27.279142751 +0200 +@@ -16,7 +16,7 @@ SPDX-License-Identifier: MIT #include #endif /* _WIN32 */ @@ -270,10 +270,10 @@ diff -ruN giflib-5.2.2/giftext.c giflib-5.2.2-getarg/giftext.c #include "gif_lib.h" #define PROGRAM_NAME "giftext" -diff -ruN giflib-5.2.2/giftool.c giflib-5.2.2-getarg/giftool.c ---- giflib-5.2.2/giftool.c 2024-02-19 06:01:28.000000000 +0300 -+++ giflib-5.2.2-getarg/giftool.c 2025-04-02 14:10:59.579511889 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/giftool.c giflib-5.2.2-new/giftool.c +--- giflib-5.2.2/giftool.c 2024-02-19 04:01:28.000000000 +0100 ++++ giflib-5.2.2-new/giftool.c 2025-04-15 16:56:27.279376975 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -282,10 +282,10 @@ diff -ruN giflib-5.2.2/giftool.c giflib-5.2.2-getarg/giftool.c #include "getopt.h" #include "gif_lib.h" -diff -ruN giflib-5.2.2/gifwedge.c giflib-5.2.2-getarg/gifwedge.c ---- giflib-5.2.2/gifwedge.c 2024-02-19 06:01:27.000000000 +0300 -+++ giflib-5.2.2-getarg/gifwedge.c 2025-04-02 14:11:16.163652219 +0300 -@@ -12,7 +12,7 @@ +diff -rupN --no-dereference giflib-5.2.2/gifwedge.c giflib-5.2.2-new/gifwedge.c +--- giflib-5.2.2/gifwedge.c 2024-02-19 04:01:27.000000000 +0100 ++++ giflib-5.2.2-new/gifwedge.c 2025-04-15 16:56:27.279666309 +0200 +@@ -12,7 +12,7 @@ SPDX-License-Identifier: MIT #include #include @@ -294,10 +294,10 @@ diff -ruN giflib-5.2.2/gifwedge.c giflib-5.2.2-getarg/gifwedge.c #include "gif_lib.h" #define PROGRAM_NAME "gifwedge" -diff -ruN giflib-5.2.2/Makefile giflib-5.2.2-getarg/Makefile ---- giflib-5.2.2/Makefile 2025-04-02 13:56:24.568117543 +0300 -+++ giflib-5.2.2-getarg/Makefile 2025-04-02 14:05:51.785348480 +0300 -@@ -34,7 +34,7 @@ +diff -rupN --no-dereference giflib-5.2.2/Makefile giflib-5.2.2-new/Makefile +--- giflib-5.2.2/Makefile 2025-04-15 16:56:27.223615747 +0200 ++++ giflib-5.2.2-new/Makefile 2025-04-15 16:56:27.279870038 +0200 +@@ -34,7 +34,7 @@ HEADERS = gif_hash.h gif_lib.h gif_lib OBJECTS = $(SOURCES:.c=.o) USOURCES = qprintf.c getarg.c diff --git a/giflib-5.2.2-cve-2025-31344.patch b/giflib-5.2.2-cve-2025-31344.patch new file mode 100644 index 0000000..bf9abfd --- /dev/null +++ b/giflib-5.2.2-cve-2025-31344.patch @@ -0,0 +1,15 @@ +diff -rupN --no-dereference giflib-5.2.2/gif2rgb.c giflib-5.2.2-new/gif2rgb.c +--- giflib-5.2.2/gif2rgb.c 2025-04-15 16:56:27.300766548 +0200 ++++ giflib-5.2.2-new/gif2rgb.c 2025-04-15 16:56:27.308678722 +0200 +@@ -337,6 +337,11 @@ static void DumpScreen2RGB(char *FileNam + GifRow = ScreenBuffer[i]; + GifQprintf("\b\b\b\b%-4d", ScreenHeight - i); + for (j = 0; j < ScreenWidth; j++) { ++ /* Check if color is within color palete */ ++ if (GifRow[j] >= ColorMap->ColorCount) { ++ GIF_EXIT(GifErrorString( ++ D_GIF_ERR_IMAGE_DEFECT)); ++ } + ColorMapEntry = &ColorMap->Colors[GifRow[j]]; + Buffers[0][j] = ColorMapEntry->Red; + Buffers[1][j] = ColorMapEntry->Green; diff --git a/giflib.spec b/giflib.spec index d5b4af7..8d67ff6 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Name: giflib Summary: A library and utilities for processing GIFs Version: 5.2.2 -Release: 5%{?dist} +Release: 6%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -17,15 +17,17 @@ Patch2: giflib_html-docs-consistent-ids.patch # Rename getarg.h to gif_getarg.h # https://sourceforge.net/p/giflib/code/merge-requests/18/ Patch3: getarg.patch +# Proposed patch for CVE-2025-31344 +Patch4: https://raw.githubusercontent.com/OpenMandrivaAssociation/giflib/refs/heads/master/giflib-5.2.2-cve-2025-31344.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: xmlto -BuildRequires: mingw32-filesystem >= 95 +BuildRequires: mingw32-filesystem BuildRequires: mingw32-gcc -BuildRequires: mingw64-filesystem >= 95 +BuildRequires: mingw64-filesystem BuildRequires: mingw64-gcc @@ -150,6 +152,9 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog +* Tue Apr 15 2025 Sandro Mani - 5.2.2-6 +- Add proposed patch for CVE-2025-31334 + * Wed Apr 02 2025 Benson Muite - 5.2.2-5 - Rename getarg.h to gif_getarg.h diff --git a/giflib_coverity.patch b/giflib_coverity.patch index 0e995ae..acba905 100644 --- a/giflib_coverity.patch +++ b/giflib_coverity.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference giflib-5.2.2/gif2rgb.c giflib-5.2.2-new/gif2rgb.c --- giflib-5.2.2/gif2rgb.c 2024-02-19 04:01:28.000000000 +0100 -+++ giflib-5.2.2-new/gif2rgb.c 2024-02-19 09:39:38.750976758 +0100 ++++ giflib-5.2.2-new/gif2rgb.c 2025-04-15 16:56:27.228197561 +0200 @@ -165,6 +165,8 @@ static void SaveGif(GifByteType *OutputB /* Open stdout for the output file: */ if ((GifFile = EGifOpenFileHandle(1, &Error)) == NULL) { diff --git a/giflib_html-docs-consistent-ids.patch b/giflib_html-docs-consistent-ids.patch index fd29642..ea3da5b 100644 --- a/giflib_html-docs-consistent-ids.patch +++ b/giflib_html-docs-consistent-ids.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference giflib-5.2.2/doc/Makefile giflib-5.2.2-new/doc/Makefile --- giflib-5.2.2/doc/Makefile 2024-02-18 19:15:05.000000000 +0100 -+++ giflib-5.2.2-new/doc/Makefile 2024-02-19 09:39:38.785968237 +0100 ++++ giflib-5.2.2-new/doc/Makefile 2025-04-15 16:56:27.252074979 +0200 @@ -1,7 +1,7 @@ .SUFFIXES: .xml .html .txt .adoc .1 .7 diff --git a/giflib_quantize.patch b/giflib_quantize.patch index 57c2b69..66c48e0 100644 --- a/giflib_quantize.patch +++ b/giflib_quantize.patch @@ -1,6 +1,6 @@ diff -rupN --no-dereference giflib-5.2.2/Makefile giflib-5.2.2-new/Makefile --- giflib-5.2.2/Makefile 2024-02-19 02:01:50.000000000 +0100 -+++ giflib-5.2.2-new/Makefile 2024-02-19 09:39:38.715985279 +0100 ++++ giflib-5.2.2-new/Makefile 2025-04-15 16:56:27.204960961 +0200 @@ -29,11 +29,11 @@ LIBPOINT=0 LIBVER=$(LIBMAJOR).$(LIBMINOR).$(LIBPOINT) From f73f39798eaf4f0befc9430a6195d951735c5e5a Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 16 Jul 2025 22:38:42 +0200 Subject: [PATCH 6/8] Increase minimum cmake version to 3.5 --- CMakeLists.txt | 2 +- giflib.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 92151d4..be7873a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.6.0) +cmake_minimum_required(VERSION 3.5) project(giflib C) diff --git a/giflib.spec b/giflib.spec index 8d67ff6..a099f47 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Name: giflib Summary: A library and utilities for processing GIFs Version: 5.2.2 -Release: 6%{?dist} +Release: 7%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -152,6 +152,9 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog +* Wed Jul 16 2025 Sandro Mani - 5.2.2-7 +- Increase minimum cmake version to 3.5 + * Tue Apr 15 2025 Sandro Mani - 5.2.2-6 - Add proposed patch for CVE-2025-31334 From 421662abf7416cbb73cb440112e58b4316b31789 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 16 Jul 2025 23:00:28 +0200 Subject: [PATCH 7/8] Use GNUInstallDirs --- CMakeLists.txt | 15 ++++++++------- giflib.spec | 1 + 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index be7873a..5bd836c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 3.5) project(giflib C) +include(GNUInstallDirs) SET(BUILD_STATIC_LIBS OFF CACHE BOOL "Whether to also build static libs") @@ -77,21 +78,21 @@ endforeach() ### Installation install(TARGETS gif - RUNTIME DESTINATION bin - ARCHIVE DESTINATION lib${LIB_SUFFIX} - LIBRARY DESTINATION lib${LIB_SUFFIX} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ) if(${BUILD_STATIC_LIBS}) - install(TARGETS gif_static ARCHIVE DESTINATION lib${LIB_SUFFIX}) + install(TARGETS gif_static ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) endif(${BUILD_STATIC_LIBS}) foreach(UTILITY ${giflib_UTILS}) - install(TARGETS ${UTILITY} DESTINATION bin) + install(TARGETS ${UTILITY} DESTINATION ${CMAKE_INSTALL_BINDIR}) endforeach() -install(FILES gif_lib.h gif_getarg.h DESTINATION include) -install(FILES ${giflib_MAN} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1) +install(FILES gif_lib.h gif_getarg.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +install(FILES ${giflib_MAN} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1) ### Distribution tarball diff --git a/giflib.spec b/giflib.spec index a099f47..5283ed3 100644 --- a/giflib.spec +++ b/giflib.spec @@ -154,6 +154,7 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog * Wed Jul 16 2025 Sandro Mani - 5.2.2-7 - Increase minimum cmake version to 3.5 +- Use GnuInstallDirs * Tue Apr 15 2025 Sandro Mani - 5.2.2-6 - Add proposed patch for CVE-2025-31334 From 23eb07266efa36fb051a62b6b092fcf877025f2c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 22:20:22 +0000 Subject: [PATCH 8/8] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- giflib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/giflib.spec b/giflib.spec index 5283ed3..682379f 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ Name: giflib Summary: A library and utilities for processing GIFs Version: 5.2.2 -Release: 7%{?dist} +Release: 8%{?dist} License: MIT URL: http://www.sourceforge.net/projects/%{name}/ @@ -152,6 +152,9 @@ rm -rf %{buildroot}%{mingw64_mandir} %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 5.2.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Wed Jul 16 2025 Sandro Mani - 5.2.2-7 - Increase minimum cmake version to 3.5 - Use GnuInstallDirs