From 332eebde37f6738bc112f9b1cc409e13bf0556fb Mon Sep 17 00:00:00 2001 From: SunBlack Date: Fri, 24 Apr 2026 22:32:26 +0200 Subject: [PATCH] [giflib] Update to 6.1.3 (#51337) --- ports/giflib/msvc.diff | 12 ++++++------ ports/giflib/portfile.cmake | 2 +- ports/giflib/vcpkg.json | 2 +- versions/baseline.json | 2 +- versions/g-/giflib.json | 5 +++++ 5 files changed, 14 insertions(+), 9 deletions(-) diff --git a/ports/giflib/msvc.diff b/ports/giflib/msvc.diff index 30ee89488e..72c973415a 100644 --- a/ports/giflib/msvc.diff +++ b/ports/giflib/msvc.diff @@ -1,5 +1,5 @@ diff --git a/dgif_lib.c b/dgif_lib.c -index cbcf23f..15dee84 100644 +index cec94c1..05f2fbf 100644 --- a/dgif_lib.c +++ b/dgif_lib.c @@ -57,7 +57,7 @@ GifFileType *DGifOpenFileName(const char *FileName, int *Error) { @@ -39,7 +39,7 @@ index cbcf23f..15dee84 100644 /*@-mustfreeonly@*/ GifFile->Private = (void *)Private; diff --git a/egif_lib.c b/egif_lib.c -index 1526868..6644eed 100644 +index f1141a2..1e90013 100644 --- a/egif_lib.c +++ b/egif_lib.c @@ -64,10 +64,10 @@ GifFileType *EGifOpenFileName(const char *FileName, const bool TestExistence, @@ -74,11 +74,11 @@ index 1526868..6644eed 100644 GifFile->Private = (void *)Private; Private->FileHandle = FileHandle; diff --git a/gif_font.c b/gif_font.c -index 75f9731..c215795 100644 +index 974e4f1..e136d2b 100644 --- a/gif_font.c +++ b/gif_font.c -@@ -200,6 +200,9 @@ void GifDrawRectangle(SavedImage *Image, const int x, const int y, const int w, - } +@@ -339,6 +339,9 @@ void GifDrawRectangle(SavedImage *Image, const int x, const int y, const int w, + } } +#ifdef _MSC_VER @@ -86,4 +86,4 @@ index 75f9731..c215795 100644 +#endif void GifDrawBoxedText8x8(SavedImage *Image, const int x, const int y, const char *legend, const int border, const int bg, - const int fg) { + const int fg) diff --git a/ports/giflib/portfile.cmake b/ports/giflib/portfile.cmake index 1cf79308fb..10b9094350 100644 --- a/ports/giflib/portfile.cmake +++ b/ports/giflib/portfile.cmake @@ -7,7 +7,7 @@ vcpkg_from_sourceforge( OUT_SOURCE_PATH SOURCE_PATH REPO "giflib" FILENAME "giflib-${VERSION}.tar.gz" - SHA512 523cf2a9941c6ddb903bf5ec22ecbf5a283c9470c1c85229360ab4137227a9e4a64b799e3ff0ca1f9f3b9de0fafe197a43fccd3c043239e76561f7b5ede59193 + SHA512 fb1d6319694745e8cdac7c57e96bd3a87dbfd978f2bfd00e826742db53398011c43f9a6e7f4375b0e77b162358ddfa14d85bce652680fb5967b72c46775c0edb PATCHES ${EXTRA_PATCHES} ) diff --git a/ports/giflib/vcpkg.json b/ports/giflib/vcpkg.json index be0dedb26f..5a98c2c6cb 100644 --- a/ports/giflib/vcpkg.json +++ b/ports/giflib/vcpkg.json @@ -1,6 +1,6 @@ { "name": "giflib", - "version": "6.1.2", + "version": "6.1.3", "description": "A library for reading and writing gif images.", "homepage": "https://sourceforge.net/projects/giflib/", "license": "MIT", diff --git a/versions/baseline.json b/versions/baseline.json index de6531a61a..56a1b3b592 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -3397,7 +3397,7 @@ "port-version": 3 }, "giflib": { - "baseline": "6.1.2", + "baseline": "6.1.3", "port-version": 0 }, "ginkgo": { diff --git a/versions/g-/giflib.json b/versions/g-/giflib.json index a9ca636e60..442ab48e6b 100644 --- a/versions/g-/giflib.json +++ b/versions/g-/giflib.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "3e28cb896d7efeea3363a4bc4f924413aea72513", + "version": "6.1.3", + "port-version": 0 + }, { "git-tree": "b13554d377c23b2b24a2f75d95cf1283a1d99aac", "version": "6.1.2",