[packages/mplayer] Fix undefined symbol GifQuantizeBuffer when building with giflib 5.2

baggins baggins at pld-linux.org
Fri Aug 15 09:45:33 CEST 2025


commit 5cee23fb08fec308cf825b72a84e5e3249ea78bd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Aug 15 11:44:59 2025 +0200

    Fix undefined symbol GifQuantizeBuffer when building with giflib 5.2

 giflib-5.2.patch | 10 ++++++++++
 mplayer.spec     |  3 ++-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/mplayer.spec b/mplayer.spec
index d3597ff..7e1ce1b 100644
--- a/mplayer.spec
+++ b/mplayer.spec
@@ -157,7 +157,7 @@ Patch14:	cflags.patch
 Patch15:	%{name}-live555-async.patch
 Patch16:	%{name}-live555-config.patch
 Patch17:	%{name}-gsm.patch
-
+Patch18:	giflib-5.2.patch
 Patch19:	%{name}-shared.patch
 Patch20:	%{name}-vstream.patch
 
@@ -430,6 +430,7 @@ cp -f etc/codecs.conf etc/codecs.win32.conf
 %patch -P15 -p1
 %patch -P16 -p1
 %patch -P17 -p1
+%patch -P18 -p1
 
 %{?with_shared:%patch19 -p1}
 %patch -P20 -p1
diff --git a/giflib-5.2.patch b/giflib-5.2.patch
new file mode 100644
index 0000000..49c41b8
--- /dev/null
+++ b/giflib-5.2.patch
@@ -0,0 +1,10 @@
+--- MPlayer-1.5/libvo/vo_gif89a.c~	2021-01-23 19:22:13.000000000 +0100
++++ MPlayer-1.5/libvo/vo_gif89a.c	2025-08-15 11:42:32.216659586 +0200
+@@ -50,6 +50,7 @@
+ #include <unistd.h>
+ 
+ #include <gif_lib.h>
++#include <gif_util.h>
+ 
+ #include "config.h"
+ #include "subopt-helper.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mplayer.git/commitdiff/5cee23fb08fec308cf825b72a84e5e3249ea78bd



More information about the pld-cvs-commit mailing list