~ruther/guix-local

ref: 5530b2112afc01e2e6d04a1b01fa9295d6ac4a1d guix-local/gnu/packages/patches/gnash-fix-giflib-version.patch -rw-r--r-- 564 bytes
5530b211 — Efraim Flashner gnu: Add rust-forgejo-api-0.5. 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Change GIFLIB_MINOR to allow matching with v5.2+
Source: https://savannah.gnu.org/patch/index.php?9873
Author: marius851000

diff --git a/libbase/GnashImageGif.cpp b/libbase/GnashImageGif.cpp
index 2ae5ddb..b87b1e7 100644
--- a/libbase/GnashImageGif.cpp
+++ b/libbase/GnashImageGif.cpp
@@ -120,7 +120,7 @@ GifInput::GifInput(std::shared_ptr<IOChannel> in)
 GifInput::~GifInput()
 {
     // Clean up allocated data.
-#if GIFLIB_MAJOR==5 && GIFLIB_MINOR==1
+#if GIFLIB_MAJOR==5 && GIFLIB_MINOR!=0
 	DGifCloseFile(_gif, 0);
 #else
 	DGifCloseFile(_gif);